X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2Fprivate.h;h=79edf26612a2a01f765f58a8d420f44479e660ab;hb=0ca5e88eabdd3aa3eb010460a73d10d8ebde61d8;hp=a79c33d32aa1630a752b091975db473c0d8cac93;hpb=0cca0c495c7dc29d134a10d7eed5de1f377c99bf;p=lugaru.git diff --git a/Source/private.h b/Source/private.h index a79c33d..79edf26 100644 --- a/Source/private.h +++ b/Source/private.h @@ -17,6 +17,8 @@ #define BinIO_HOST_BYTE_ORDER 'H' #define BinIO_NETWORK_BYTE_ORDER 'N' +#ifndef ALREADY_DID_BINIO_STDINT +#define ALREADY_DID_BINIO_STDINT #if defined(BinIO_STDINT_HEADER) #include BinIO_STDINT_HEADER typedef float float32_t; @@ -33,6 +35,7 @@ typedef unsigned long uint32_t; typedef float float32_t; typedef double float64_t; #endif +#endif #ifndef BinIO_INLINE #if defined(__GNUC__) @@ -132,3 +135,4 @@ extern void BinIOCountBytes(void *context, int type, int byte_order, int count); extern size_t BinIOFormatByteCount(const char *format); #endif +