diff --git a/mini-setup.sh b/mini-setup.sh index cc8b80c..347f881 100755 --- a/mini-setup.sh +++ b/mini-setup.sh @@ -6,7 +6,7 @@ cp src/mini-setup/twcfg.txt bin/twcfg.txt cp src/mini-setup/twpol.txt bin/twpol.txt -chdir bin +cd bin if [ ! -f "l" ] || [ ! -f "s" ]; then echo "***** Generating Keys *****" diff --git a/src/core/platform.h b/src/core/platform.h index a95bd72..27f1ac7 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -200,6 +200,9 @@ # elif defined(_AIX) # define OS OS_AIX # define IS_AIX 1 +# if defined(__PASE__) +# define IS_PASE 1 +# endif # elif defined(__hpux) # define OS OS_HPUX @@ -351,7 +354,7 @@ # define USE_STD_CPP_LOCALE_WORKAROUND \ (IS_SUNPRO || (IS_KAI && !IS_KAI_3_4)) // TODO:BAM -- name this something more general. //# define USE_CLIB_LOCALE IS_KAI || HAVE_GCC -# define USE_CLIB_LOCALE (!HAVE_LOCALE || (HAVE_GCC && IS_SOLARIS)) +# define USE_CLIB_LOCALE (!HAVE_LOCALE || (HAVE_GCC && (IS_SOLARIS || IS_AIX))) # define USES_CLIB_DATE_FUNCTION \ (USE_CLIB_LOCALE || IS_SUNPRO || \ IS_MSVC) // if we use clib, can't use C++ time_put, and SUNPRO and MSVC add characters