diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/ode/stdint.patch | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/ode/stdint.patch')
-rw-r--r-- | user/ode/stdint.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/ode/stdint.patch b/user/ode/stdint.patch new file mode 100644 index 000000000..f3674335e --- /dev/null +++ b/user/ode/stdint.patch @@ -0,0 +1,44 @@ +--- ode-0.16/include/ode/odeconfig.h.old 2018-12-09 20:04:03.000000000 +0000 ++++ ode-0.16/include/ode/odeconfig.h 2020-01-12 08:36:16.664428956 +0000 +@@ -32,6 +32,7 @@ + #include <math.h> + #include <string.h> + #include <float.h> ++#include <stdint.h> + + + #include <ode/precision.h> +@@ -128,20 +129,20 @@ + typedef __int64 dint64; + typedef unsigned __int64 duint64; + #else +- typedef long long dint64; +- typedef unsigned long long duint64; ++ typedef int64_t dint64; ++ typedef uint64_t duint64; + #endif +- typedef int dint32; +- typedef unsigned int duint32; +- typedef short dint16; +- typedef unsigned short duint16; +- typedef signed char dint8; +- typedef unsigned char duint8; +- +- typedef dint32 dintptr; +- typedef duint32 duintptr; +- typedef dint32 ddiffint; +- typedef duint32 dsizeint; ++ typedef int32_t dint32; ++ typedef uint32_t duint32; ++ typedef int16_t dint16; ++ typedef uint16_t duint16; ++ typedef int8_t dint8; ++ typedef uint8_t duint8; ++ ++ typedef intptr_t dintptr; ++ typedef uintptr_t duintptr; ++ typedef ptrdiff_t ddiffint; ++ typedef size_t dsizeint; + + #endif + |