CMake/Utilities/cmliblzma/liblzma/common
Brad King 73eab246fb liblzma: Avoid defining a 'restrict' macro
Any "#define restrict ..." line may conflict with MSVC header files
that use "__declspec(restrict)".  Define our own LZMA_RESTRICT macro
in "Utilities/cmliblzma/config.h.in" and transform liblzma code to
use it:

 git grep -lE '\<restrict\>' Utilities/cmliblzma/liblzma |
   xargs sed -i 's/\<restrict\>/LZMA_RESTRICT/g'
2014-07-29 08:45:36 -04:00
..
alone_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
alone_decoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
alone_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
auto_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
block_buffer_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
block_buffer_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
block_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
block_decoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
block_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
block_encoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
block_header_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
block_header_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
block_util.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
common.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
common.h liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
easy_buffer_encoder.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
easy_decoder_memusage.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
easy_encoder.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
easy_encoder_memusage.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
easy_preset.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
easy_preset.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
filter_buffer_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_buffer_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_common.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_common.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
filter_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_decoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
filter_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_encoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
filter_flags_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_flags_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
hardware_physmem.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
index.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
index.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
index_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
index_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
index_encoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
index_hash.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
stream_buffer_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
stream_buffer_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
stream_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
stream_decoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
stream_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
stream_encoder.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
stream_flags_common.c Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
stream_flags_common.h Merge branch 'liblzma-upstream' into add-liblzma 2014-07-21 15:54:44 -04:00
stream_flags_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
stream_flags_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
vli_decoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
vli_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
vli_size.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00