]> granicus.if.org Git - icu/commitdiff
ICU-10169 Remove error compilation options in zos build
authorMichael Ow <mow@svn.icu-project.org>
Thu, 16 May 2013 14:43:26 +0000 (14:43 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Thu, 16 May 2013 14:43:26 +0000 (14:43 +0000)
X-SVN-Rev: 33667

icu4c/source/common/umapfile.c
icu4c/source/config/mh-os390

index 05caecfff2c5ca8318d30488a9ff825433e40590..ce4ee023feb31cf09cba18a4ece30bb0660014ae 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ******************************************************************************
 *
-*   Copyright (C) 1999-2011, International Business Machines
+*   Copyright (C) 1999-2013, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************/
@@ -15,6 +15,9 @@
  *         wrapper functions.
  *
  *----------------------------------------------------------------------------*/
+/* Defines _XOPEN_SOURCE for access to POSIX functions.
+ * Must be before any other #includes. */
+#include "uposixdefs.h"
 
 #include "unicode/putil.h"
 #include "udatamem.h"
index 4c36656857f1a99582e06fe17417ad8968f2f8fd..74bd749e844f5888e81f36ec907cc4ad782f3bd2 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ## os/390, z/OS specific setup 
-## Copyright (c) 1999-2012, International Business Machines Corporation and
+## Copyright (c) 1999-2013, International Business Machines Corporation and
 ## others. All Rights Reserved.
 
 ###################################################################
@@ -66,9 +66,8 @@ SHAREDLIBCXXFLAGS     = -Wc,expo
 # The DLL option must be used by the callee and caller code when using shared libraries.
 # NOCSECT might be used as an optimization option.
 # -+ means accept any file extension as a C++ file. By default only .C is accepted.
-CFLAGS          += -Wc,DLL,ROS,RENT,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'CHARS(SIGNED)','LANGLVL(EXTENDED)' $(ICU_IEEE)
-CXXFLAGS        += -Wc,DLL,ROS,RTTI,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'CHARS(SIGNED)','LANGLVL(EXTENDED)' $(ICU_IEEE) -+
-DEFS            += -D_XOPEN_SOURCE=600
+CFLAGS          += -Wc,DLL,ROS,RENT,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'LANGLVL(EXTENDED)' $(ICU_IEEE)
+CXXFLAGS        += -Wc,DLL,ROS,RTTI,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'LANGLVL(EXTENDED)' $(ICU_IEEE) -+
 ARFLAGS         = -cr
 
 # _MSE_PROTOS usually interacts with _XOPEN_SOURCE. It affects some standard