]> granicus.if.org Git - icu/commitdiff
ICU-12779 do not check U_PLATFORM macros before including ICU headers
authorMarkus Scherer <markus.icu@gmail.com>
Fri, 14 Oct 2016 19:42:22 +0000 (19:42 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Fri, 14 Oct 2016 19:42:22 +0000 (19:42 +0000)
X-SVN-Rev: 39457

icu4c/source/i18n/digitlst.cpp

index f68f8bb32270b82d5aabe3e99c405e27fc3f176d..a3b3406ca64cd87d2cdac1426daffcad56c5a5f0 100644 (file)
@@ -26,7 +26,7 @@
 ******************************************************************************
 */
 
-#if U_PLATFORM == U_PF_CYGWIN
+#if defined(__CYGWIN__) && !defined(_GNU_SOURCE)
 #define _GNU_SOURCE
 #endif