From 2833cf286960334272d6fb9c12a037e86f39ee69 Mon Sep 17 00:00:00 2001 From: Aaron Robinson Date: Sun, 26 Jan 2003 06:56:11 +0000 Subject: [PATCH] Cleaned up some compiler warning messages. --- Include/Win32/Cxbx/Wnd.h | 2 ++ Source/Win32/Cxbx/EmuExe.cpp | 3 +++ Source/Win32/CxbxKrnl/Kernel.cpp | 2 ++ 3 files changed, 7 insertions(+) diff --git a/Include/Win32/Cxbx/Wnd.h b/Include/Win32/Cxbx/Wnd.h index 01ff116d5..012c9d239 100644 --- a/Include/Win32/Cxbx/Wnd.h +++ b/Include/Win32/Cxbx/Wnd.h @@ -34,6 +34,8 @@ #ifndef WND_H #define WND_H +// this macro will cause warnings if not undef'd +#undef FIELD_OFFSET #include // ****************************************************************** diff --git a/Source/Win32/Cxbx/EmuExe.cpp b/Source/Win32/Cxbx/EmuExe.cpp index 74ea219dc..3e42dacc5 100644 --- a/Source/Win32/Cxbx/EmuExe.cpp +++ b/Source/Win32/Cxbx/EmuExe.cpp @@ -37,7 +37,10 @@ #include "Prolog.h" #include "Kernel.h" +// this macro will cause warnings if not undef'd +#undef FIELD_OFFSET #include + #include // ****************************************************************** diff --git a/Source/Win32/CxbxKrnl/Kernel.cpp b/Source/Win32/CxbxKrnl/Kernel.cpp index 908898d0f..856cfd93e 100644 --- a/Source/Win32/CxbxKrnl/Kernel.cpp +++ b/Source/Win32/CxbxKrnl/Kernel.cpp @@ -52,6 +52,8 @@ namespace xntdll // ****************************************************************** namespace win32 { + // this macro will cause warnings if not undef'd + #undef FIELD_OFFSET #include };