X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b25be06635768807f8f693286fa73bb2297bb06c..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/tools/toolutil/platform_xopen_source_extended.h diff --git a/icuSources/tools/toolutil/platform_xopen_source_extended.h b/icuSources/tools/toolutil/platform_xopen_source_extended.h deleted file mode 100644 index 583585f7..00000000 --- a/icuSources/tools/toolutil/platform_xopen_source_extended.h +++ /dev/null @@ -1,36 +0,0 @@ -/* -********************************************************************** -* Copyright (c) 2009, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -*/ -#ifndef _PLATFORM_XOPEN_SOURCE_EXTENDED_H -#define _PLATFORM_XOPEN_SOURCE_EXTENDED_H - -#include "unicode/utypes.h" - -/* - * z/OS needs this definition for timeval and to get usleep. - * We move this definition out of the various source files because - * there might be some platform issues when this is defined. - * See below. - */ -#if !defined(_XOPEN_SOURCE_EXTENDED) -#define _XOPEN_SOURCE_EXTENDED 1 -#endif - -/* - * There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms. - * A compatibility issue exists between turning on _XOPEN_SOURCE_EXTENDED and using - * standard C++ string class. As a result, standard C++ string class needs to be - * turned off for the follwing platforms: - * -AIX/VACPP - * -Solaris/GCC - */ -#if (defined(U_AIX) && !defined(__GNUC__)) || (defined(U_SOLARIS) && defined(__GNUC__)) -# if _XOPEN_SOURCE_EXTENDED && !defined(U_HAVE_STD_STRING) -# define U_HAVE_STD_STRING 0 -# endif -#endif - -#endif /* _PLATFORM_XOPEN_SOURCE_EXTENDED_H */