Browse Source

added ifndef __APPLE__

Dave Schuyler 22 years ago
parent
commit
b5f8664df2
1 changed files with 8 additions and 7 deletions
  1. 8 7
      dtool/src/parser-inc/stdtypedefs.h

+ 8 - 7
dtool/src/parser-inc/stdtypedefs.h

@@ -23,12 +23,18 @@
 
 #ifndef STDTYPEDEFS_H
 #define STDTYPEDEFS_H
-
+#ifndef __APPLE__
 typedef unsigned int size_t;
 typedef int off_t;
 typedef unsigned int time_t;
-typedef int ptrdiff_t;
 typedef int clock_t;
+
+struct FILE;
+
+namespace std {
+}
+#endif
+typedef int ptrdiff_t;
 typedef int wchar_t;
 
 typedef unsigned int uint;
@@ -38,10 +44,5 @@ typedef unsigned char uchar;
 
 #define NULL ((void *)0)
 
-struct FILE;
-
-namespace std {
-}
-
 #endif