mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1126923: #undef HAVE_STDINT_H (provided by mozilla-config.h) before including vpx headers, since they redefine it. r=froydnj
This commit is contained in:
parent
21c7941d55
commit
72ede6c1ec
@ -143,6 +143,12 @@ extern nsresult nsStringInputStreamConstructor(nsISupports*, REFNSIID, void**);
|
||||
|
||||
#include "ogg/ogg.h"
|
||||
#if defined(MOZ_VPX) && !defined(MOZ_VPX_NO_MEM_REPORTING)
|
||||
#if defined(HAVE_STDINT_H)
|
||||
// mozilla-config.h defines HAVE_STDINT_H, and then it's defined *again* in
|
||||
// vpx_config.h (which we include via vpx_mem.h, below). This redefinition
|
||||
// triggers a build warning on MSVC, so we have to #undef it first.
|
||||
#undef HAVE_STDINT_H
|
||||
#endif
|
||||
#include "vpx_mem/vpx_mem.h"
|
||||
#endif
|
||||
#ifdef MOZ_WEBM
|
||||
|
Loading…
x
Reference in New Issue
Block a user