mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1189891: Only include STL wrapper requirements on the first include. r=glandium
This commit is contained in:
parent
c301304fba
commit
747895a3d7
@ -8,6 +8,9 @@
|
||||
#ifndef mozilla_${HEADER}_h
|
||||
#define mozilla_${HEADER}_h
|
||||
|
||||
#ifndef MOZ_HAVE_INCLUDED_ALLOC
|
||||
#define MOZ_HAVE_INCLUDED_ALLOC
|
||||
|
||||
#if _HAS_EXCEPTIONS
|
||||
# error "STL code can only be used with -fno-exceptions"
|
||||
#endif
|
||||
@ -32,6 +35,7 @@
|
||||
#else
|
||||
# error "STL code can only be used with infallible ::operator new()"
|
||||
#endif
|
||||
#endif /* MOZ_HAVE_INCLUDED_ALLOC */
|
||||
|
||||
#ifdef _DEBUG
|
||||
// From
|
||||
|
Loading…
Reference in New Issue
Block a user