From 6efe9e45c932847a170f58813218f195e0220e61 Mon Sep 17 00:00:00 2001 From: bsutherland Date: Mon, 30 Nov 2015 22:08:08 +0900 Subject: [PATCH] Tweak config.h after merge, delete extra .jucer file. --- AdlibBlaster.jucer | 232 --------------------------------------------- Source/config.h | 50 ++++++---- 2 files changed, 34 insertions(+), 248 deletions(-) delete mode 100644 AdlibBlaster.jucer diff --git a/AdlibBlaster.jucer b/AdlibBlaster.jucer deleted file mode 100644 index d9e999d..0000000 --- a/AdlibBlaster.jucer +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Source/config.h b/Source/config.h index 24b2801..aebe15f 100644 --- a/Source/config.h +++ b/Source/config.h @@ -63,22 +63,40 @@ #pragma warning(disable : 4996) #endif -/// Jeff-Russ modified to be uniform across C++ implementations: -// The internal types: -#include -typedef unsigned char BYTE; -typedef int64_t __int64; -typedef double Real64; -typedef unsigned char Bit8u; -typedef signed char Bit8s; -typedef uint16_t Bit16u; -typedef int16_t Bit16s; -typedef uint32_t Bit32u; -typedef int32_t Bit32s; -typedef uint64_t Bit64u; -typedef int64_t Bit64s; -typedef Bit32u Bitu; -typedef Bit32s Bits; +#ifdef _WIN32 + typedef double Real64; + /* The internal types */ + typedef unsigned char BYTE; + typedef unsigned char Bit8u; + typedef signed char Bit8s; + typedef unsigned short Bit16u; + typedef signed short Bit16s; + typedef unsigned long Bit32u; + typedef signed long Bit32s; + typedef unsigned __int64 Bit64u; + typedef signed __int64 Bit64s; + typedef unsigned int Bitu; + typedef signed int Bits; +#endif + +#if __APPLE__ + /// Jeff-Russ modified to be uniform across C++ implementations: + // The internal types: + #include + typedef unsigned char BYTE; + typedef int64_t __int64; + typedef double Real64; + typedef unsigned char Bit8u; + typedef signed char Bit8s; + typedef uint16_t Bit16u; + typedef int16_t Bit16s; + typedef uint32_t Bit32u; + typedef int32_t Bit32s; + typedef uint64_t Bit64u; + typedef int64_t Bit64s; + typedef Bit32u Bitu; + typedef Bit32s Bits; +#endif /// Jeff-Russ PUT PLATFORM SPECIFIC STUFF HERE: