Browse Source

Pre-C++11 compilers don't seem to like std::time_t

rdb 10 years ago
parent
commit
94b48d568f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dtool/src/parser-inc/stdtypedefs.h

+ 3 - 3
dtool/src/parser-inc/stdtypedefs.h

@@ -20,15 +20,15 @@
 #ifndef STDTYPEDEFS_H
 #define STDTYPEDEFS_H
 
+typedef long time_t;
+typedef long clock_t;
+
 typedef unsigned int uint;
 typedef unsigned long ulong;
 typedef unsigned short ushort;
 typedef unsigned char uchar;
 
 inline namespace std {
-  typedef long time_t;
-  typedef long clock_t;
-
 #ifdef _WIN64
   typedef unsigned long long size_t;
   typedef long long ssize_t;