From b1732b03460e8956b46d9dde4ebc500cb28a5b76 Mon Sep 17 00:00:00 2001 From: Kevin Bernhagen Date: Thu, 28 Dec 2023 20:04:50 -0800 Subject: [PATCH] Return os name "win64" on Win x64 --- src/fah/client/win/WinOSImpl.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/fah/client/win/WinOSImpl.cpp b/src/fah/client/win/WinOSImpl.cpp index c167e1c..7710b7e 100644 --- a/src/fah/client/win/WinOSImpl.cpp +++ b/src/fah/client/win/WinOSImpl.cpp @@ -203,7 +203,13 @@ void WinOSImpl::init() { } -const char *WinOSImpl::getName() const {return "win32";} +const char *WinOSImpl::getName() const { +#ifdef _WIN64 + return "win64"; +#else + return "win32"; +#endif +} const char *WinOSImpl::getCPU() const {