(svn r3009) DIEEEEEEEEEEE VS6 (you good-for-nothing compiler)
authorDarkvater
Mon, 03 Oct 2005 21:10:51 +0000
changeset 2483 ee0517ddfa92
parent 2482 dffcca243dbc
child 2484 8e0c88a833fb
(svn r3009) DIEEEEEEEEEEE VS6 (you good-for-nothing compiler)
stdafx.h
--- a/stdafx.h	Sun Oct 02 22:39:56 2005 +0000
+++ b/stdafx.h	Mon Oct 03 21:10:51 2005 +0000
@@ -136,6 +136,16 @@
 #	endif
 typedef _W64 int INT_PTR, *PINT_PTR;
 typedef _W64 unsigned int UINT_PTR, *PUINT_PTR;
+
+#ifndef _INTPTR_T_DEFINED
+#ifdef  _WIN64
+typedef __int64             intptr_t;
+#else
+typedef _W64 int            intptr_t;
+#endif
+#define _INTPTR_T_DEFINED
+#endif
+
 #endif
 
 // Windows has always LITTLE_ENDIAN