From fa7f2a816f4355ba8f3a8aada20ef89f064e28e5 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 26 Mar 2022 15:08:24 +0200 Subject: [PATCH 36/36] Replace "Win32" where ever "Windows" should be used See osdn #44117 Signed-off-by: Marko Lindqvist --- INSTALL | 4 ++-- client/connectdlg_common.c | 2 +- client/gui-gtk-3.22/gui_main.c | 2 +- client/gui-gtk-4.0/gui_main.c | 2 +- utility/shared.h | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 9274be93ef..18bf9d6097 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing Freeciv: This file describes how to compile and install Freeciv. Last time we made sure this file is up to date was 16-Jul-06. -Last minor update was 03-Mar-22. +Last minor update was 26-Mar-22. There may be a localized version of this file in the ./doc directory, named INSTALL. (e.g., INSTALL.de). @@ -183,7 +183,7 @@ version for SDL2 is 2.0.6. The "Gtk+" library comes with one companion libraries: "Gdk": - Provides an abstraction layer over X-Windows/LinuxFB/Win32 to implement + Provides an abstraction layer over X-Windows/LinuxFB/Windows to implement basic drawing functions, windows, clipping, etc. Freeciv requires a version of "Gtk+" greater or equal to 3.22.0. diff --git a/client/connectdlg_common.c b/client/connectdlg_common.c index 99ed3fe3ed..472eb7ae16 100644 --- a/client/connectdlg_common.c +++ b/client/connectdlg_common.c @@ -234,7 +234,7 @@ bool client_start_server(void) #if !defined(HAVE_USABLE_FORK) /* Above also implies that this is FREECIV_MSWINDOWS -> - * Win32 that can't use fork() */ + * Windows that can't use fork() */ STARTUPINFO si; PROCESS_INFORMATION pi; diff --git a/client/gui-gtk-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index a663a33f9d..0941e9fa4b 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -1839,7 +1839,7 @@ void ui_main(int argc, char **argv) parse_options(argc, argv); - /* the locale has already been set in init_nls() and the Win32-specific + /* the locale has already been set in init_nls() and the windows-specific * locale logic in gtk_init() causes problems with zh_CN (see PR#39475) */ gtk_disable_setlocale(); diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index 3cdeb83798..3697fd11c2 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -1834,7 +1834,7 @@ void ui_main(int argc, char **argv) { parse_options(argc, argv); - /* the locale has already been set in init_nls() and the Win32-specific + /* the locale has already been set in init_nls() and the windows-specific * locale logic in gtk_init() causes problems with zh_CN (see PR#39475) */ gtk_disable_setlocale(); diff --git a/utility/shared.h b/utility/shared.h index 90d13c74e9..3d323bcd7d 100644 --- a/utility/shared.h +++ b/utility/shared.h @@ -113,7 +113,7 @@ enum fc_tristate fc_tristate_or(enum fc_tristate one, enum fc_tristate two); #ifndef PATH_SEPARATOR #if defined(FREECIV_MSWINDOWS) || defined(_WIN32) || defined(__WIN32__) || defined(__EMX__) || defined(__DJGPP__) - /* Win32, OS/2, DOS */ + /* Windows, OS/2, DOS */ # define PATH_SEPARATOR ";" #else /* Unix */ @@ -122,7 +122,7 @@ enum fc_tristate fc_tristate_or(enum fc_tristate one, enum fc_tristate two); #endif /* PATH_SEPARATOR */ #if defined(FREECIV_MSWINDOWS) || defined(_WIN32) || defined(__WIN32__) || defined(__EMX__) || defined(__DJGPP__) - /* Win32, OS/2, DOS */ + /* Windows, OS/2, DOS */ # define DIR_SEPARATOR "\\" # define DIR_SEPARATOR_CHAR '\\' #else -- 2.35.1