diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-02-09 13:15:27 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-13 17:33:15 +0000 |
commit | 8963cc01f5267f3afc4e4a4ff5a65a67520f447b (patch) | |
tree | c1f058310dd7ac12ddc0546c5bd3f8fcdbbd1ab8 /hwpfilter | |
parent | bbeb0f7a82945e8d7b98e5d5da9f69dfc5c6fabe (diff) |
EasyHack: Removed gcc conditionals
Diffstat (limited to 'hwpfilter')
-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 |