Browse Source

deps: fix openssl build on x86_64

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
a82f5389d9
  1. 14
      deps/openssl/config/piii/openssl/opensslconf-posix.h

14
deps/openssl/config/piii/openssl/opensslconf-posix.h

@ -187,11 +187,19 @@
* for debuging the bignum libraries */
#undef SIXTY_FOUR_BIT_LONG
#undef SIXTY_FOUR_BIT
#define THIRTY_TWO_BIT
#undef THIRTY_TWO_BIT
#undef SIXTEEN_BIT
#undef EIGHT_BIT
/* Let's hope ARM never releases a 64 bits CPU... */
#if __x86_64__
# define SIXTY_FOUR_BIT
#else
# define THIRTY_TWO_BIT
#endif
#endif /* defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) */
#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
#define CONFIG_HEADER_RC4_LOCL_H
/* if this is defined data[i] is used instead of *data, this is a %20
@ -213,6 +221,10 @@
#define DES_PTR
#endif
#if __x86_64__
#undef DES_PTR
#endif
/* This helps C compiler generate the correct code for multiple functional
* units. It reduces register dependancies at the expense of 2 more
* registers */

Loading…
Cancel
Save