From c9e1bb2c46ecc5f6a183acdb83abd2e150f06641 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 4 Dec 2010 06:36:12 -0700 Subject: [PATCH] fix printf configuration --- src/racket/src/error.c | 4 ---- src/racket/src/schpriv.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/racket/src/error.c b/src/racket/src/error.c index 3a24b17853..64590274c0 100644 --- a/src/racket/src/error.c +++ b/src/racket/src/error.c @@ -33,10 +33,6 @@ # include #endif -#ifndef PRINTF_INTPTR_SIZE_PREFIX -# define PRINTF_INTPTR_SIZE_PREFIX "l" -#endif - #define mzVA_ARG(x, y) HIDE_FROM_XFORM(va_arg(x, y)) #define TMP_CMARK_VALUE scheme_parameterization_key diff --git a/src/racket/src/schpriv.h b/src/racket/src/schpriv.h index c46fa1bca4..b6818fe0d7 100644 --- a/src/racket/src/schpriv.h +++ b/src/racket/src/schpriv.h @@ -2023,6 +2023,10 @@ Scheme_Object *scheme_load_delayed_code(int pos, struct Scheme_Load_Delay *ld); intptr_t scheme_get_print_width(void); +#ifndef PRINTF_INTPTR_SIZE_PREFIX +# define PRINTF_INTPTR_SIZE_PREFIX "l" +#endif + /*========================================================================*/ /* compile and link */ /*========================================================================*/