From af0c6b1996a34130132140dc4c106012c5d526a9 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Wed, 28 Mar 2018 13:43:25 +0300 Subject: [PATCH] Trying to make it work on 32bit platforms... --- secp256k1_wrapper/libsecp256k1-config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/secp256k1_wrapper/libsecp256k1-config.h b/secp256k1_wrapper/libsecp256k1-config.h index 4d9167d..a06e2ec 100644 --- a/secp256k1_wrapper/libsecp256k1-config.h +++ b/secp256k1_wrapper/libsecp256k1-config.h @@ -60,7 +60,11 @@ #define HAVE_UNISTD_H 1 /* Define to 1 if the system has the type `__int128'. */ -#define HAVE___INT128 1 +#if __SIZEOF_INT128__ == 16 + #define HAVE___INT128 1 +#else + #undef HAVE___INT128 +#endif /* Define to the sub-directory where libtool stores uninstalled libraries. */ #define LT_OBJDIR ".libs/"