Add pragma to eliminate MS C warnings.

This commit is contained in:
Patrik Stridvall 2002-10-23 20:16:23 +00:00 committed by Alexandre Julliard
parent ccfd32fbf6
commit 8b991b2798
1 changed files with 5 additions and 0 deletions

View File

@ -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 */