components/desktop/firefox/patches/firefox31-gnu-105-lz4-restrict-keyword.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
--- a/components/desktop/firefox/patches/firefox31-gnu-105-lz4-restrict-keyword.patch	Tue Mar 01 10:33:35 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +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
-
---- mozilla-esr31/mfbt/lz4.c.orig	2015-06-04 11:17:03.957437771 -0700
-+++ mozilla-esr31/mfbt/lz4.c	2015-06-04 11:17:03.963371797 -0700
-@@ -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 */