summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/limits.h b/src/common/limits.h
index 2f8e7b5f4..1a56da259 100644
--- a/src/common/limits.h
+++ b/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 */