summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystemwatcher_polling_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_polling_p.h')
-rw-r--r--src/corelib/io/qfilesystemwatcher_polling_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemwatcher_polling_p.h b/src/corelib/io/qfilesystemwatcher_polling_p.h
index e50082c6d3..926c3baa07 100644
--- a/src/corelib/io/qfilesystemwatcher_polling_p.h
+++ b/src/corelib/io/qfilesystemwatcher_polling_p.h
@@ -62,6 +62,7 @@
#include "qfilesystemwatcher_p.h"
+#ifndef QT_NO_FILESYSTEMWATCHER
QT_BEGIN_NAMESPACE
enum { PollingInterval = 1000 };
@@ -122,6 +123,6 @@ private:
};
QT_END_NAMESPACE
-
+#endif // !QT_NO_FILESYSTEMWATCHER
#endif // QFILESYSTEMWATCHER_POLLING_P_H