equal
deleted
inserted
replaced
52 #include <qdir.h> |
52 #include <qdir.h> |
53 |
53 |
54 #include <zlib.h> |
54 #include <zlib.h> |
55 |
55 |
56 #if defined(Q_OS_WIN) |
56 #if defined(Q_OS_WIN) |
57 #undef S_IFREG |
57 # undef S_IFREG |
58 #define S_IFREG 0100000 |
58 # define S_IFREG 0100000 |
|
59 # ifndef S_IFDIR |
|
60 # define S_IFDIR 0040000 |
|
61 # endif |
59 # ifndef S_ISDIR |
62 # ifndef S_ISDIR |
60 # define S_ISDIR(x) ((x) & 0040000) > 0 |
63 # define S_ISDIR(x) ((x) & S_IFDIR) > 0 |
61 # endif |
64 # endif |
62 # ifndef S_ISREG |
65 # ifndef S_ISREG |
63 # define S_ISREG(x) ((x) & 0170000) == S_IFREG |
66 # define S_ISREG(x) ((x) & 0170000) == S_IFREG |
64 # endif |
67 # endif |
65 # define S_IFLNK 020000 |
68 # define S_IFLNK 020000 |