diff options
Diffstat (limited to 'hwpfilter/source/grammar.cxx')
-rw-r--r-- | hwpfilter/source/grammar.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx index 2afc1d897490..2285aabc62b3 100644 --- a/hwpfilter/source/grammar.cxx +++ b/hwpfilter/source/grammar.cxx @@ -539,11 +539,9 @@ int yydebug; /* nonzero means print parse trace */ definitions require. With GCC, __builtin_memcpy takes an arg of type size_t, but it can handle unsigned int. */ -#if defined __GNUC__ -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ +#if defined(__GNUC__) #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT) -#endif -#else /* not GNU C or C++ */ +#else #ifndef __cplusplus /* This is the most reliable way to avoid incompatibilities |