diff options
| -rw-r--r-- | includes/mkDerivedConstants.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c index bd2214e696..dedb386fb9 100644 --- a/includes/mkDerivedConstants.c +++ b/includes/mkDerivedConstants.c @@ -34,9 +34,11 @@ #if SIZEOF_VOID_P == SIZEOF_INT /* compiling for 32bit target */ #define PRIdPTR "d" -#else +#elif SIZEOF_VOID_P == SIZEOF_LONG /* compiling for 64bit target */ #define PRIdPTR "ld" +#else +#error Cannot find definition for PRIdPTR #endif #endif |
