diff options
Diffstat (limited to 'tests/mpfr-test.h')
-rw-r--r-- | tests/mpfr-test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mpfr-test.h b/tests/mpfr-test.h index 0466903d3..79c5ad6c7 100644 --- a/tests/mpfr-test.h +++ b/tests/mpfr-test.h @@ -93,6 +93,12 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #define MAKE_STR(S) STRINGIZE(S) #if defined (__cplusplus) +#define VOIDP_CAST(X) (X) +#else +#define VOIDP_CAST(X) ((void *) (X)) +#endif + +#if defined (__cplusplus) extern "C" { #endif |