mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
[lib] s/current/curr because it collides with Linux Kernel macro
This commit is contained in:
@ -50,6 +50,13 @@ void* ZSTD_memmove(void* destination, const void* source, size_t num);
|
||||
void* ZSTD_memset(void* destination, int value, size_t num);
|
||||
#endif
|
||||
|
||||
/* Define this macro because the kernel does.
|
||||
* This will ensure we don't introduce new instances of 'current'
|
||||
* in the code.
|
||||
*/
|
||||
int this_variable_name_is_not_allowed();
|
||||
#define current this_variable_name_is_not_allowed()
|
||||
|
||||
#endif /* ZSTD_DEPS_COMMON */
|
||||
|
||||
/* Need:
|
||||
|
Reference in New Issue
Block a user