Explorar el Código

* Cygwin flag added for naughty Cygwin GCC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5771 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance hace 19 años
padre
commit
59fe860e09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/common/limits.h

+ 1 - 1
src/common/limits.h

@@ -19,7 +19,7 @@
 #ifndef _INC_LIMITS
 #define _INC_LIMITS
 
-#if     defined(_WIN32)
+#if defined(_WIN32) || defined(CYGWIN)
 	#define CHAR_BIT      8         /* number of bits in a char */
 	#define SCHAR_MIN   (-128)      /* minimum signed char value */
 	#define SCHAR_MAX     127       /* maximum signed char value */