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
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
block_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
block_encoder.h
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
easy_decoder_memusage.c
easy_encoder.c
easy_encoder_memusage.c
easy_preset.c
easy_preset.h
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
filter_decoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_decoder.h
filter_encoder.c liblzma: Port from C99 to C89/90 2014-07-29 08:44:36 -04:00
filter_encoder.h
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
index.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
index.h
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
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
stream_encoder.c liblzma: Avoid defining a 'restrict' macro 2014-07-29 08:45:36 -04:00
stream_encoder.h
stream_flags_common.c
stream_flags_common.h
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