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 /src/fl_call_main.c | |
| 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 'src/fl_call_main.c')
| -rw-r--r-- | src/fl_call_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fl_call_main.c b/src/fl_call_main.c index 2f8e6b0d5..6fa541a55 100644 --- a/src/fl_call_main.c +++ b/src/fl_call_main.c @@ -1,7 +1,7 @@ /* * "$Id$" * - * Copyright 1998-2016 by Bill Spitzak and others. + * Copyright 1998-2018 by Bill Spitzak and others. * * fl_call_main() calls main() for you Windows people. Needs to be done in C * because Borland C++ won't let you call main() from C++. @@ -21,7 +21,7 @@ * This WinMain() function can be overridden by an application and * is provided for compatibility with programs written for other * operating systems that conform to the ANSI standard entry point - * "main()". This will allow you to build a WIN32 Application + * "main()". This will allow you to build a Windows Application * without any special settings. * * Because of problems with the Microsoft Visual C++ header files @@ -37,13 +37,13 @@ * Microsoft(r) Windows(r) that allows for it. */ -#if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_System_Driver - platform main() */ +#if defined(_WIN32) || defined(__APPLE__) /* PORTME: Fl_System_Driver - platform main() */ #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement 'main()' here if your platform provides another app entry point" #else #endif -#if defined(WIN32) && !defined(FL_DLL) && !defined (__GNUC__) +#if defined(_WIN32) && !defined(FL_DLL) && !defined (__GNUC__) # include <windows.h> # include <stdio.h> @@ -85,7 +85,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, * * While we can detect if the program was run from the command-line - * look at the CMDLINE environment variable, it will be "WIN" for - * programs started from the GUI - the shell seems to run all WIN32 + * programs started from the GUI - the shell seems to run all Windows * applications in the background anyways... */ @@ -132,7 +132,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, #else /* STR# 2973: solves "empty translation unit" error (Sun, HP-UX..) */ typedef int dummy; -#endif /* WIN32 && !FL_DLL && !__GNUC__ */ +#endif /* _WIN32 && !FL_DLL && !__GNUC__ */ /* * End of "$Id$". |
