diff options
author | Andrei Sedoi <bsnote@gmail.com> | 2013-02-26 16:28:53 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-26 17:03:07 +0100 |
commit | 17c6fe2e22efada157b9d1e6cf8acbb7ab43b08f (patch) | |
tree | ce866bcf1e8fadff30eb36c22c4b4a50da862c51 /deps | |
parent | 8fe72a7f27adb5d89165c0f4c72b6f358d0602ef (diff) | |
download | node-new-17c6fe2e22efada157b9d1e6cf8acbb7ab43b08f.tar.gz |
mips: fix openssl build
Diffstat (limited to 'deps')
-rw-r--r-- | deps/openssl/config/opensslconf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/openssl/config/opensslconf.h b/deps/openssl/config/opensslconf.h index 92fc8b8c5e..9bf23692d6 100644 --- a/deps/openssl/config/opensslconf.h +++ b/deps/openssl/config/opensslconf.h @@ -145,7 +145,7 @@ #undef OPENSSL_UNISTD #define OPENSSL_UNISTD <unistd.h> -#if !defined(_WIN32) && !defined(__arm__) && !defined(SWIG) +#if !defined(_WIN32) && !defined(__arm__) && !defined(__mips__) && !defined(SWIG) # include <unistd.h> #endif @@ -205,7 +205,7 @@ /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a * %20 speed up (longs are 8 bytes, int's are 4). */ # undef DES_LONG -# if defined(_M_X64) || defined(__x86_64__) || defined(__arm__) +# if defined(_M_X64) || defined(__x86_64__) || defined(__arm__) || defined(__mips__) # define DES_LONG unsigned int # elif defined(_M_IX86) || defined(__i386__) # define DES_LONG unsigned long @@ -235,7 +235,7 @@ # define SIXTY_FOUR_BIT # elif (defined(_M_X64) || defined(__x86_64__)) && !defined(_WIN32) # define SIXTY_FOUR_BIT_LONG -# elif defined(_M_IX86) || defined(__i386__) || defined(__arm__) +# elif defined(_M_IX86) || defined(__i386__) || defined(__arm__) || defined(__mips__) # define THIRTY_TWO_BIT # endif #endif |