]> git.jsancho.org Git - lugaru.git/blobdiff - Source/private.h
Fixed resolution selection and added 1920x1200 mode for my monitor. :)
[lugaru.git] / Source / private.h
index a79c33d32aa1630a752b091975db473c0d8cac93..79edf26612a2a01f765f58a8d420f44479e660ab 100644 (file)
@@ -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
+