Browse Source

Speaking of badly sized mac things

Glenn Smith 7 năm trước cách đây
mục cha
commit
34b2d91e89
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Engine/source/platform/types.mac.h

+ 2 - 1
Engine/source/platform/types.mac.h

@@ -27,10 +27,11 @@
 #define FN_CDECL
 #define STDCALL
 
+#include <stddef.h>
 // size_t is needed to overload new
 // size_t tends to be OS and compiler specific and may need to 
 // be if/def'ed in the future
-typedef unsigned long  dsize_t;
+typedef size_t dsize_t;
 
 
 /** Platform dependent file date-time structure.  The defination of this structure