From 48294075bd69c8161858a921a66ca9cfea8085d1 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Wed, 12 Aug 2009 19:45:13 +0000 Subject: [PATCH] ICU-7060 Ignore some definitions when on Cygwin/MSVC. X-SVN-Rev: 26487 --- icu4c/source/common/unicode/platform.h.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/icu4c/source/common/unicode/platform.h.in b/icu4c/source/common/unicode/platform.h.in index 18221b65baa..04c9b4a3051 100644 --- a/icu4c/source/common/unicode/platform.h.in +++ b/icu4c/source/common/unicode/platform.h.in @@ -24,16 +24,17 @@ * \brief Basic types for the platform */ +/* 1 or 0 to enable or disable threads. If undefined, default is: enable threads. */ +#define ICU_USE_THREADS @ICU_USE_THREADS@ + +/* Need platform.h when using CYGWINMSVC to get definitions above. Ignore everything else. */ +#ifndef CYGWINMSVC + /* Define the platform we're on. */ #ifndef @platform@ #define @platform@ #endif -/* 1 or 0 to enable or disable threads. If undefined, default is: enable threads. */ -#define ICU_USE_THREADS @ICU_USE_THREADS@ - -/* Need platform.h when using CYGWINMSVC to get definition above. Ignore everything else. */ -#ifndef CYGWINMSVC /** * \def U_HAVE_DIRENT_H * Define whether dirent.h is available */