summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl.gyp')
-rw-r--r--deps/openssl/openssl.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp
index 0389abdd14..3a319d91f0 100644
--- a/deps/openssl/openssl.gyp
+++ b/deps/openssl/openssl.gyp
@@ -43,6 +43,14 @@
],
},
}],
+ [ 'OS=="aix"', {
+ # AIX is missing /usr/include/endian.h
+ 'defines': [
+ '__LITTLE_ENDIAN=1234',
+ '__BIG_ENDIAN=4321',
+ '__BYTE_ORDER=__BIG_ENDIAN',
+ '__FLOAT_WORD_ORDER=__BIG_ENDIAN'],
+ }],
[ 'node_byteorder=="big"', {
# Define Big Endian
'defines': ['B_ENDIAN']