diff options
author | Yann Collet <cyan@fb.com> | 2017-08-26 19:22:51 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-08-26 19:22:51 (GMT) |
commit | c4d6884cd82fddbbdce015750e574fd02af36a94 (patch) | |
tree | 3adb3dae0efa764a0e8b4b24333398728e6d6190 /doc | |
parent | d2306b836e8055ee14e0a239ad8ef44dc5100374 (diff) | |
download | lz4-c4d6884cd82fddbbdce015750e574fd02af36a94.zip lz4-c4d6884cd82fddbbdce015750e574fd02af36a94.tar.gz lz4-c4d6884cd82fddbbdce015750e574fd02af36a94.tar.bz2 |
build: source files sorted in a FS independent manner
to be more compatible with reproducible builds.
patch inspired by @bmwiedemann
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lz4_manual.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lz4_manual.html b/doc/lz4_manual.html index 9ab1984..df8128b 100644 --- a/doc/lz4_manual.html +++ b/doc/lz4_manual.html @@ -301,9 +301,11 @@ union LZ4_streamDecode_u { # define LZ4_DEPRECATED(message) </b>/* disable deprecation warnings */<b> #else # define LZ4_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) -# if defined (__cplusplus) && (__cplusplus >= 201402) </b>/* C++14 or greater */<b> +# if defined(__clang__) </b>/* clang doesn't handle mixed C++11 and CNU attributes */<b> +# define LZ4_DEPRECATED(message) __attribute__((deprecated(message))) +# elif defined (__cplusplus) && (__cplusplus >= 201402) </b>/* C++14 or greater */<b> # define LZ4_DEPRECATED(message) [[deprecated(message)]] -# elif (LZ4_GCC_VERSION >= 405) || defined(__clang__) +# elif (LZ4_GCC_VERSION >= 405) # define LZ4_DEPRECATED(message) __attribute__((deprecated(message))) # elif (LZ4_GCC_VERSION >= 301) # define LZ4_DEPRECATED(message) __attribute__((deprecated)) |