mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-20 07:16:42 +01:00
25 lines
603 B
Diff
25 lines
603 B
Diff
diff -urN radare2-2.0.1.orig/libr/include/r_util/r_big.h radare2-2.0.1/libr/include/r_util/r_big.h
|
|
--- radare2-2.0.1.orig/libr/include/r_util/r_big.h 2017-10-13 00:28:33.000000000 +0800
|
|
+++ radare2-2.0.1/libr/include/r_util/r_big.h 2017-10-15 10:10:14.078912464 +0800
|
|
@@ -1,16 +1,16 @@
|
|
#ifndef R_BIG_H
|
|
#define R_BIG_H
|
|
+
|
|
+#ifdef __cplusplus
|
|
+extern "C" {
|
|
+#endif
|
|
+
|
|
#if HAVE_LIB_GMP
|
|
#define RNumBig mpz_t
|
|
#elif HAVE_LIB_SSL
|
|
#define RNumBig BIGNUM
|
|
#else
|
|
#define R_BIG_SIZE 10000
|
|
-
|
|
-#ifdef __cplusplus
|
|
-extern "C" {
|
|
-#endif
|
|
-
|
|
typedef struct r_num_big_t {
|
|
char dgts[R_BIG_SIZE];
|
|
int sign, last;
|