unix: use __PASE__ on IBM i platforms
IBM i compilers now predefine __PASE__. This commit updates code to rely on that rather than manually setting (or relying on) a _PASE definition. PR-URL: https://github.com/libuv/libuv/pull/1782 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
aa1beaa07c
commit
7f85924e8b
@ -184,7 +184,7 @@ AIX)
|
||||
src/unix/aix.c"
|
||||
;;
|
||||
OS400)
|
||||
SPARSE_FLAGS="$SPARSE_FLAGS -D_PASE=1"
|
||||
SPARSE_FLAGS="$SPARSE_FLAGS -D__PASE__=1"
|
||||
SOURCES="$SOURCES
|
||||
src/unix/aix-common.c
|
||||
src/unix/ibmi.c
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
# include "uv-linux.h"
|
||||
#elif defined (__MVS__)
|
||||
# include "uv-os390.h"
|
||||
#elif defined(_PASE)
|
||||
#elif defined(__PASE__)
|
||||
# include "uv-posix.h"
|
||||
#elif defined(_AIX)
|
||||
# include "uv-aix.h"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user