summaryrefslogtreecommitdiff
path: root/include/generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/generic.h')
-rw-r--r--include/generic.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/generic.h b/include/generic.h
index 107ec2b..3c7e7e9 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: generic.h,v 1.39 2006-07-17 16:06:17 pixel Exp $ */
+/* $Id: generic.h,v 1.40 2006-11-13 22:00:11 pixel Exp $ */
#ifndef __GENERIC_H__
#define __GENERIC_H__
@@ -69,12 +69,20 @@ typedef u32 DWord;
#else
#if ! defined SDL_VERSIONNUM && ! defined Uint32
+#ifdef __amd64
+typedef unsigned int Uint32;
+#else
typedef unsigned long int Uint32;
#endif
+#endif
#ifndef int32
+#ifdef __amd64
+typedef signed int int32;
+#else
typedef signed long int int32;
#endif
+#endif
#ifndef Uint16
typedef unsigned short int Uint16;