From: Markus Scherer <markus.icu@gmail.com>
Date: Mon, 25 Jul 2011 23:14:16 +0000 (+0000)
Subject: ICU-8452 try to work around a problem with using Solaris signal.h
X-Git-Tag: milestone-59-0-1~4623
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0c495ee996800c7529cbdf068d5c16c93ced999;p=icu

ICU-8452 try to work around a problem with using Solaris signal.h

X-SVN-Rev: 30421
---

diff --git a/icu4c/source/test/intltest/simplethread.cpp b/icu4c/source/test/intltest/simplethread.cpp
index 380b3404774..ea7518c6e86 100644
--- a/icu4c/source/test/intltest/simplethread.cpp
+++ b/icu4c/source/test/intltest/simplethread.cpp
@@ -10,6 +10,11 @@
 # endif
 #endif
 
+/* Define __EXTENSIONS__ for Solaris and old friends in strict mode. */
+#ifndef __EXTENSIONS__
+#define __EXTENSIONS__
+#endif
+
 // Defines _XOPEN_SOURCE for access to POSIX functions.
 // Must be before any other #includes.
 #include "uposixdefs.h"
@@ -64,11 +69,6 @@
 # endif
 #endif
 
-/* Define __EXTENSIONS__ for Solaris and old friends in strict mode. */
-#ifndef __EXTENSIONS__
-#define __EXTENSIONS__
-#endif
-
 #if U_PLATFORM == U_PF_OS390
 #include <sys/types.h>
 #endif