1
0
forked from pool/SDL_mixer
SDL_mixer/SDL_mixer-1.2.8-64bit-fix.patch
Stephan Kulow fce0d68e27 Accepting request 27250 from home:jengelh:branches:games
Copy from home:jengelh:branches:games/SDL_mixer via accept of submit request 27250 revision 2.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/27250
OBS-URL: https://build.opensuse.org/package/show/games/SDL_mixer?expand=0&rev=4
2009-12-20 21:49:29 +00:00

25 lines
575 B
Diff

--- mikmod/mikmod.h
+++ mikmod/mikmod.h
@@ -85,7 +85,8 @@
/*@DOES_NOT_HAVE_SIGNED@*/
-#if defined(__alpha) || defined(_LP64)
+#include <stdint.h>
+#if __WORDSIZE == 64
/* 64 bit architectures */
typedef signed char SBYTE; /* 1 byte, signed */
--- mikmod/mikmod_internals.h
+++ mikmod/mikmod_internals.h
@@ -69,7 +69,8 @@
/*========== More type definitions */
/* SLONGLONG: 64bit, signed */
-#if defined(__alpha) || defined(_LP64)
+#include <stdint.h>
+#if __WORDSIZE == 64
typedef long SLONGLONG;
#define NATIVE_64BIT_INT
#elif defined(__WATCOMC__)