components/desktop/thunderbird/patches/firefox-34-lz4-restrict-keyword.patch
changeset 7018 fdf447a07aff
parent 7017 25872950aa80
child 7020 58ca1f0fa3a7
--- a/components/desktop/thunderbird/patches/firefox-34-lz4-restrict-keyword.patch	Fri Sep 30 21:33:56 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-Correctly recognize the "restrict" keyword for the lz4.c file included in
-Compression.cpp
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57025
-
-diff --git a/mfbt/lz4.c b/mfbt/lz4.c
---- a/mfbt/lz4.c
-+++ b/mfbt/lz4.c
-@@ -104,7 +104,7 @@
- /**************************************
-  Compiler Options
- **************************************/
--#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)   /* C99 */
-+#if defined(__STDC_VERSION__) && !defined(__cplusplus) && (__STDC_VERSION__ >= 199901L)   /* C99 */
- /* "restrict" is a known keyword */
- #else
- #  define restrict /* Disable restrict */