ntfsperm.h
1 #ifndef DOOMSEEKER_CORE_NTFSPERM_H
2 #define DOOMSEEKER_CORE_NTFSPERM_H
3 
4 // On NTFS file systems, ownership and permissions checking is disabled by
5 // default for performance reasons. The following int toggles it by
6 // incrementation and decrementation of its value.
7 // See: http://doc.qt.io/qt-5/qfileinfo.html#ntfs-permissions
8 #ifdef Q_OS_WIN32
9 #include <Qt>
10 extern Q_CORE_EXPORT int qt_ntfs_permission_lookup;
11 #else
12 // We'll need to declare an int with the same name to compile successfully in other platforms.
13 static int qt_ntfs_permission_lookup;
14 #endif
15 
16 
17 #endif