summaryrefslogtreecommitdiffstats
path: root/qtools/qfiledefs_p.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-17 18:56:38 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-01-17 18:56:38 (GMT)
commitf000dd870b772ed6bc26ea383a8657301eb5ef17 (patch)
tree05e55417a750c1275c9139b7952de6941db168dd /qtools/qfiledefs_p.h
parentb00ec8923dcf911a38323429f1744048b20a35a7 (diff)
downloadDoxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.zip
Doxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.tar.gz
Doxygen-f000dd870b772ed6bc26ea383a8657301eb5ef17.tar.bz2
Release-1.5.4-20080101
Diffstat (limited to 'qtools/qfiledefs_p.h')
-rw-r--r--qtools/qfiledefs_p.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/qtools/qfiledefs_p.h b/qtools/qfiledefs_p.h
index 4a1a154..7bf8640 100644
--- a/qtools/qfiledefs_p.h
+++ b/qtools/qfiledefs_p.h
@@ -49,14 +49,17 @@
// or even be removed.
//
//
-
-
#if defined(_CC_MWERKS_)
# include <stdlib.h>
# include <stat.h>
-#elif !defined(_OS_MAC_)
+#elif !defined(_OS_MAC_)
+# include <sys/types.h>
+# include <sys/stat.h>
+#elif defined(_OS_MAC_) \
+ && (MAC_OS_X_VERSION_MAX_ALLOWED==MAC_OS_X_VERSION_10_5)
# include <sys/types.h>
# include <sys/stat.h>
+# define _OS_UNIX_
#endif
#include <fcntl.h>
#include <errno.h>
@@ -243,7 +246,7 @@
# define R_OK 4
#endif
-#if defined(_OS_MAC_)
+#if defined(_OS_MAC_) && !defined(_OS_UNIX_)
# define F_OK 0
# define X_OK 1
# define W_OK 2