mirror of
https://github.com/lz4/lz4.git
synced 2024-11-30 21:34:17 +08:00
Only ignore with C++17
This commit is contained in:
parent
cca7618f09
commit
4fed595dac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user