File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 11
11
#else
12
12
13
13
/* auto detect between 32bit / 64bit */
14
- #define HAS_SIZEOF_INT128_64BIT (defined(__SIZEOF_INT128__) && defined(__LP64__))
15
- #define HAS_MSVC_64BIT (defined(_MSC_VER) && defined(_M_X64))
16
- #define HAS_GCC_4_4_64BIT (defined(__GNUC__) && defined(__LP64__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))))
14
+ #if (defined(__SIZEOF_INT128__ ) && defined(__LP64__ ))
15
+ #define HAS_SIZEOF_INT128_64BIT 1
16
+ #else
17
+ #define HAS_SIZEOF_INT128_64BIT 0
18
+ #endif
19
+
20
+ #if (defined(_MSC_VER ) && defined(_M_X64 ))
21
+ #define HAS_MSVC_64BIT 1
22
+ #else
23
+ #define HAS_MSVC_64BIT 0
24
+ #endif
25
+
26
+ #if (defined(__GNUC__ ) && defined(__LP64__ ) && ((__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ >= 4 ))))
27
+ #define HAS_GCC_4_4_64BIT 1
28
+ #else
29
+ #define HAS_GCC_4_4_64BIT 0
30
+ #endif
17
31
18
32
#if (HAS_SIZEOF_INT128_64BIT || HAS_MSVC_64BIT || HAS_GCC_4_4_64BIT )
19
33
#include "poly1305-donna-64.h"
You can’t perform that action at this time.
0 commit comments