nanogui: Is there a #define constant for MicroWindow ???
Subject:
Re: [nanogui] Is there a #define constant for MicroWindow ???
From:
"Gary James" ####@####.####
Date:
8 Nov 2001 17:02:16 -0000
Message-Id: <3BEA7536.17448.AD0FA08@localhost>
>
> > : I search a #define value wich identify when i compile for
> > MicroWindow.
> > Is there one wich identify a true win32 environnement ?
> >
> > Not really. You might use MWINCLUDECOLORS
> > possibly which is used in src/include/mwtypes.h
> > to include Microwindows color definitions.
> >
> > Otherwise, Microwindows itself doesn't need any define.
> > Windows used to use _WIN32 and _WINDOWS
> > I think. Perhaps you could use that.
> >
>
> You might also use one of your compiler predefined macros. If you are
> building for Windows using a microsoft compiler try:
> #ifdef _MSC_VER
> If you are building for Linux using the GNU compiler try:
> #ifdef __GNUC__
>
> Gary James
>
--
Gary A James, Critical Link, LLC
Voice: 315.425.4045 x218
Fax: 315.425.4048
E-Mail: ####@####.####
WEB: http://www.criticallink.com