Skip to content

Commit

Permalink
Bug 1371266 - libpng should be built with -std=c89. r=glennrp
Browse files Browse the repository at this point in the history
  • Loading branch information
psumbera committed Jun 8, 2017
1 parent f6aaa2e commit 479e4d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions media/libpng/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,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']
2 changes: 1 addition & 1 deletion mozilla-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#endif
#endif

// Expands to all the defines from configure.
/* Expands to all the defines from configure. */
#undef ALLDEFINES

/*
Expand Down

0 comments on commit 479e4d1

Please sign in to comment.