1
0
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:
Nick Terrell
2020-08-11 14:31:09 -07:00
parent 5e4efd22d4
commit f91ed5c766
10 changed files with 165 additions and 158 deletions

View File

@ -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: