summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/limits.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-03-14 16:25:18 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-03-17 21:08:57 -0500
commit86a724b8c04cb3a2b2b70025dfc2d8ff75e15c7b (patch)
tree03a8a9b57a52842652158260b431df554eea39ef /winsup/cygwin/include/limits.h
parentec4fe40b23bbce361319c1d13dc89e594ffcba03 (diff)
downloadcygnal-86a724b8c04cb3a2b2b70025dfc2d8ff75e15c7b.tar.gz
cygnal-86a724b8c04cb3a2b2b70025dfc2d8ff75e15c7b.tar.bz2
cygnal-86a724b8c04cb3a2b2b70025dfc2d8ff75e15c7b.zip
Feature test macros overhaul: limits.h
Simplify the C99 conditional, and use the internal macro for GNU extensions. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'winsup/cygwin/include/limits.h')
-rw-r--r--winsup/cygwin/include/limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index e093d283d..c17cd0aed 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -110,7 +110,7 @@ details. */
#define __LONG_LONG_MAX__ 9223372036854775807LL
#endif
-#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__)
+#if __GNU_VISIBLE
#undef LONG_LONG_MIN
#define LONG_LONG_MIN (-LONG_LONG_MAX-1)
#undef LONG_LONG_MAX