Windows: Fix build of tests.

This commit is contained in:
Christian Kamm 2015-05-22 09:17:24 +02:00
parent aebadfcda2
commit 1c84d01584
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ namespace OCC {
// Always coming in with forward slashes.
// In csync_excluded_no_ctx we ignore all files with longer than 254 chars
// This function also adds a dot at the begining of the filename to hide the file on OS X and Linux
QString createDownloadTmpFileName(const QString &previous) {
QString OWNCLOUDSYNC_EXPORT createDownloadTmpFileName(const QString &previous) {
QString tmpFileName;
QString tmpPath;
int slashPos = previous.lastIndexOf('/');

View file

@ -14,7 +14,7 @@
using namespace OCC;
namespace OCC {
QString createDownloadTmpFileName(const QString &previous);
QString OWNCLOUDSYNC_EXPORT createDownloadTmpFileName(const QString &previous);
}
class TestOwncloudPropagator : public QObject