From 948a4e842f6081381c9e89552a8b3a48050eb647 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 28 Jul 2006 22:16:45 +0000 Subject: [PATCH] ICU-4869 Fix check-in of _XOPEN_SOURCE_EXTENDED. This is the correct fix. X-SVN-Rev: 19919 --- icu4c/source/common/putil.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/icu4c/source/common/putil.c b/icu4c/source/common/putil.c index f8152ce005..972425085c 100644 --- a/icu4c/source/common/putil.c +++ b/icu4c/source/common/putil.c @@ -47,15 +47,9 @@ #endif #endif -/* Define __USE_POSIX and __USE_XOPEN for Linux and glibc. */ -#ifndef __USE_POSIX -#define __USE_POSIX -#endif -#ifndef __USE_XOPEN -#define __USE_XOPEN -#endif -#ifndef __USE_XOPEN_EXTENDED -#define __USE_XOPEN_EXTENDED +/* Make sure things like readlink and such functions work. */ +#ifndef _XOPEN_SOURCE_EXTENDED +#define _XOPEN_SOURCE_EXTENDED #endif /* include ICU headers */