mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 06:53:38 +00:00
Add pragma to eliminate MS C warnings.
This commit is contained in:
parent
ccfd32fbf6
commit
8b991b2798
|
@ -23,6 +23,11 @@
|
|||
#error Wine should not include windows.h internally
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
|
||||
/* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
|
||||
# pragma warning(disable:4116)
|
||||
#endif
|
||||
|
||||
#if defined(RC_INVOKED) && !defined(NOWINRES)
|
||||
#include "winresrc.h"
|
||||
#else /* RC_INVOKED && !NOWINRES */
|
||||
|
|
Loading…
Reference in a new issue