fce0d68e27
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
25 lines
575 B
Diff
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__)
|