From 52ae3582a2c7bb437df33c0a30bfd5a01d6c5282 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 9 Feb 2018 14:39:42 +0000 Subject: 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 --- FL/platform_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL/platform_types.h') diff --git a/FL/platform_types.h b/FL/platform_types.h index ce2e6718f..6eec3cd79 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -70,7 +70,7 @@ typedef int FL_SOCKET; # define FL_COMMAND FL_META # define FL_CONTROL FL_CTRL -#elif defined(WIN32) +#elif defined(_WIN32) typedef struct HBITMAP__ *HBITMAP; typedef HBITMAP Fl_Offscreen; typedef HBITMAP Fl_Bitmask; @@ -116,8 +116,8 @@ typedef struct __GLXcontextRec *GLContext; #ifndef __APPLE__ -# define FL_COMMAND FL_CTRL /**< An alias for FL_CTRL on WIN32 and X11, or FL_META on MacOS X */ -# define FL_CONTROL FL_META /**< An alias for FL_META on WIN32 and X11, or FL_CTRL on MacOS X */ +# define FL_COMMAND FL_CTRL /**< An alias for FL_CTRL on Windows and X11, or FL_META on MacOS X */ +# define FL_CONTROL FL_META /**< An alias for FL_META on Windows and X11, or FL_CTRL on MacOS X */ #endif #endif /* FL_PLATFORM_TYPES_H */ -- cgit v1.2.3