]> git.jsancho.org Git - lugaru.git/blobdiff - Source/private.h
Added GPL license and headers.
[lugaru.git] / Source / private.h
index 97bdd169b81de9450453a7800971fff48df946fe..44962a1dd54b61e7bca602c7d48ef37aeb9b3d5c 100644 (file)
@@ -1,3 +1,24 @@
+/*
+Copyright (C) 2003, 2010 - Wolfire Games
+
+This file is part of Lugaru.
+
+Lugaru is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*/
+
 #ifndef private_h
 #define private_h
 
@@ -17,6 +38,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 +56,7 @@ typedef unsigned long      uint32_t;
 typedef float              float32_t;
 typedef double             float64_t;
 #endif
+#endif
 
 #ifndef BinIO_INLINE
 #if defined(__GNUC__)