From ee6c519a4b1c8e919c1353b977e6396a160bc4b3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Jan 2013 22:39:34 +0000 Subject: [PATCH] A fix for VC6 compilation: define missing priority constants. {ABOVE,BELOW}_NORMAL_PRIORITY_CLASS aren ot defined in VC6 headers, see http://buildbot.tt-solutions.com/wx/builders/XPSP2%20VC6%20wxMSW%20trunk%20release/builds/2943/steps/compile/logs/stdio so define them ourselves. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/utilsexc.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index e9f7ae28b5..7198e1106f 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -82,6 +82,15 @@ #include "wx/msw/private/hiddenwin.h" +// FIXME-VC6: These are not defined in VC6 SDK headers. +#ifndef BELOW_NORMAL_PRIORITY_CLASS + #define BELOW_NORMAL_PRIORITY_CLASS 0x4000 +#endif + +#ifndef ABOVE_NORMAL_PRIORITY_CLASS + #define ABOVE_NORMAL_PRIORITY_CLASS 0x8000 +#endif + // ---------------------------------------------------------------------------- // constants // ----------------------------------------------------------------------------