# define _XOPEN_SOURCE_EXTENDED 1
#endif
+/**
+ * Solaris says:
+ * "...it is invalid to compile an XPG6 or a POSIX.1-2001 application with anything other
+ * than a c99 or later compiler."
+ * Apparently C++11 is not "or later". Work around this.
+ */
+#if defined(__cplusplus) && (defined(sun) || defined(__sun)) && !defined (_STDC_C99)
+# define _STDC_C99
+#endif
+
#endif /* __UPOSIXDEFS_H__ */
## Copyright (c) 1999-2010, International Business Machines Corporation and
## others. All Rights Reserved.
+## Flags for ICU 59+
+CXXFLAGS += -std=c++11
+CFLAGS += -std=c99
+
## Flags for position independent code
SHAREDLIBCFLAGS = -KPIC
SHAREDLIBCXXFLAGS = -KPIC