#if defined(U_HAVE_ICUCFG)
# include "icucfg.h"
#elif U_PLATFORM_IMPLEMENTS_POSIX
-# define HAVE_DLFCN_H 1
-# define HAVE_DLOPEN 1
+# if U_PLATFORM == U_PF_OS400
+# undef HAVE_DLFCN_H 1
+# undef HAVE_DLOPEN 1
+# else
+# define HAVE_DLFCN_H 1
+# define HAVE_DLOPEN 1
+# endif
# define HAVE_GETTIMEOFDAY 1
#else
# undef HAVE_DLFCN_H
/* Use the predefined value. */
#elif !U_HAVE_NL_LANGINFO_CODESET
# define U_NL_LANGINFO_CODESET -1
+#elif U_PLATFORM == U_PF_OS400
+ /* not defined */
#else
# define U_NL_LANGINFO_CODESET CODESET
#endif
/* Use the predefined value. */
#elif U_PLATFORM_USES_ONLY_WIN32_API
# define U_TZSET _tzset
+#elif U_PLATFORM == U_PF_OS400
+ /* not defined */
#else
# define U_TZSET tzset
#endif
# define U_TIMEZONE __timezone
#elif U_PLATFORM_USES_ONLY_WIN32_API
# define U_TIMEZONE _timezone
+#elif U_PLATFORM == U_PF_OS400
+ /* not defined */
#else
# define U_TIMEZONE timezone
#endif
/* Use the predefined value. */
#elif U_PLATFORM_USES_ONLY_WIN32_API
# define U_TZNAME _tzname
+#elif U_PLATFORM == U_PF_OS400
+ /* not defined */
#else
# define U_TZNAME tzname
#endif
/* Use the predefined value. */
#elif U_PLATFORM_USES_ONLY_WIN32_API
# define U_HAVE_POPEN 0
+#elif U_PLATFORM == U_PF_OS400
+# define U_HAVE_POPEN 0
#else
# define U_HAVE_POPEN 1
#endif