diff options
-rw-r--r-- | ext/ffi_c/AbstractMemory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ffi_c/AbstractMemory.c b/ext/ffi_c/AbstractMemory.c index 971d244..b81884a 100644 --- a/ext/ffi_c/AbstractMemory.c +++ b/ext/ffi_c/AbstractMemory.c @@ -49,6 +49,9 @@ #include "Function.h" #include "LongDouble.h" +#ifndef PRIsVALUE +# define PRIsVALUE "s" +#endif static inline char* memory_address(VALUE self); VALUE rbffi_AbstractMemoryClass = Qnil; |