nanogui: [patch] ERROR redefinition problems in VxWorks
Subject:
[patch] ERROR redefinition problems in VxWorks
From:
Brent Thompson ####@####.####
Date:
9 Oct 2000 16:25:40 -0000
Message-Id: <39E1F0AC.5060404@nlc.com>
In order to override some macro redefinition problems I've
been having in VxWorks, I've made the following change to
<wingdi.h>. If ERROR is already defined (in my case, by
the VxWorks header files), then undefine it in order to
use the Microwindows version of it.
BAT
--
Brent A. Thompson, Next Level Communications <www.nlc.com>
1776 22nd Street #100, West Des Moines, IA 50266-1444
EMail: ####@####.#### Phone: (515)991-3853
*** wingdi.h Tue Sep 19 11:06:58 2000
--- wingdi.h_0.88 Mon Oct 9 11:13:54 2000
***************
*** 320,331 ****
#define NULLREGION MWREGION_NULL
#define SIMPLEREGION MWREGION_SIMPLE
#define COMPLEXREGION MWREGION_COMPLEX
-
- #ifdef ERROR
- #undef ERROR
- #endif
#define ERROR ERRORREGION
-
#define RGN_ERROR ERRORREGION
/* CombineRgn() Styles */
--- 320,326 ----