* how-programming.texinfo: Document _WIN32 more fully.

This commit is contained in:
Christopher Faylor 2002-11-10 19:38:26 +00:00
parent 7922485391
commit 1b5f0e595b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-10 Christopher Faylor <cgf@redhat.com>
* how-programming.texinfo: Document _WIN32 more fully.
2002-10-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* ntsec.sgml: Correct some minor grammatical errors.

View File

@ -564,6 +564,12 @@ we thought it would be a good idea for compatibility with VC++ code
to follow their example. We use _MFC_VER to indicate code that should
be compiled with VC++.
_WIN32 is only defined when you use either the -mno-cygwin or -mwin32
gcc command line options. This is because Cygwin is supposed to be a
Unix emulation environment and defining _WIN32 confuses some programs
which think that they have to make special concessions for a Windows
environment which Cygwin handles automatically.
@subsection How should I port my Unix GUI to Windows?
There are two basic strategies for porting Unix GUIs to Windows.