diff options
-rw-r--r-- | media/libpng/moz.build | 3 | ||||
-rw-r--r-- | mozilla-config.h.in | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/media/libpng/moz.build b/media/libpng/moz.build index 9146a8d5a2..782aa93df1 100644 --- a/media/libpng/moz.build +++ b/media/libpng/moz.build @@ -51,3 +51,6 @@ FINAL_LIBRARY = 'gkmedias' # We allow warnings for third-party code that can be updated from upstream. ALLOW_COMPILER_WARNINGS = True + +if CONFIG['GNU_CC'] + CFLAGS += ['std=c89'] diff --git a/mozilla-config.h.in b/mozilla-config.h.in index 7484180b0d..6883a7be25 100644 --- a/mozilla-config.h.in +++ b/mozilla-config.h.in @@ -13,7 +13,7 @@ #endif #endif -// Expands to all the defines from configure. +/* Expands to all the defines from configure. */ #undef ALLDEFINES /* |