diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-11-06 15:16:02 (GMT) |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2017-11-06 15:16:02 (GMT) |
commit | 4fed595dac0a10fb68c77a71370638ad958ccce8 (patch) | |
tree | 8e741a7cac42fd235c47291b7d9dd00d5668e2f7 /lib/lz4.c | |
parent | cca7618f09b0a98b05a27597f25fcdc68ab908ed (diff) | |
download | lz4-4fed595dac0a10fb68c77a71370638ad958ccce8.zip lz4-4fed595dac0a10fb68c77a71370638ad958ccce8.tar.gz lz4-4fed595dac0a10fb68c77a71370638ad958ccce8.tar.bz2 |
Only ignore with C++17
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -86,10 +86,10 @@ /* - * register is ignored when the code built with a C++ compiler - * Remove the keyword when built with C++ to silent the warning + * register is ignored when the code built with a C++-17 compiler + * Remove the keyword when built with C++-17 to silent the warning */ -#ifdef __cplusplus +#if defined(__cplusplus) && __cplusplus > 201402L # define REGISTER #else # define REGISTER register |