diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-09 14:39:42 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-09 14:39:42 +0000 |
| commit | 52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 (patch) | |
| tree | 4f532a97ab0a6a1c2f96454290bc8803ee022f1f /documentation/src/basics.dox | |
| parent | 30dad6a4aa2b94fe91783160c86abc75f9dc9e23 (diff) | |
Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32".
Replace "WIN32" in text and documentation with "Windows".
Replace "MSWindows" with "Windows".
To do: README.Windows.txt (and maybe other documentation as well)
needs updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src/basics.dox')
| -rw-r--r-- | documentation/src/basics.dox | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/documentation/src/basics.dox b/documentation/src/basics.dox index 0a539a956..97cdb53ea 100644 --- a/documentation/src/basics.dox +++ b/documentation/src/basics.dox @@ -333,9 +333,12 @@ find the FLTK header files. This can be done by selecting "Preprocessor" settings under the "C/C++" tab. You will also need to add the FLTK (<tt>FLTK.LIB</tt> or <tt>FLTKD.LIB</tt>) and the Windows Common Controls (<tt>COMCTL32.LIB</tt>) libraries to the "Link" settings. -You must also define <tt>WIN32</tt>. -More information can be found in <tt>README.MSWindows.txt</tt>. +You must also define <tt>_WIN32</tt> if the compiler doesn't do this. +Currently all known Windows compilers define _WIN32 - unless you use Cygwin. +You must not define _WIN32 if you use Cygwin. + +More information can be found in <tt>README.Windows.txt</tt>. You can build your Microsoft Windows applications as Console or Desktop applications. If you want to use the standard C \p main() |
