From cc318459965daf0a23e556440f2fbc8ec8896062 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 26 Apr 2011 22:13:58 -0400 Subject: [PATCH] Fix lmathtab.gperf APPLE #ifdef location --- src/lmathtab.gperf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lmathtab.gperf b/src/lmathtab.gperf index 17b7092..6c61d70 100644 --- a/src/lmathtab.gperf +++ b/src/lmathtab.gperf @@ -9,6 +9,11 @@ %define initializer-suffix ,NULL %{ +#ifdef __APPLE__ +#define __inline +#undef __GNUC_STDC_INLINE__ +#endif + /** Declaration macro for math functions */ #define MATH_FUNC(func) static void func(char **ptr, int nptr, char *buff, char **bp) @@ -45,11 +50,6 @@ struct math { const char *name; /**< Name of the function. */ void (*func) (char **, int, char *, char **); /**< Pointer to function code. */ }; - -#ifdef __APPLE__ -#define __inline -#undef __GNUC_STDC_INLINE__ -#endif %% ADD, math_add SUB, math_sub -- 2.30.2