diff options
author | saturneric <[email protected]> | 2024-07-30 17:33:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-30 17:33:21 +0000 |
commit | 02edad4c989f60e248657bb7854253f8297db583 (patch) | |
tree | 0fa307c34d270f42ba1ad90da819c259d744f283 /src/init.cpp | |
parent | feat: should check build capability at dev branch (diff) | |
download | GpgFrontend-02edad4c989f60e248657bb7854253f8297db583.tar.gz GpgFrontend-02edad4c989f60e248657bb7854253f8297db583.zip |
fix: use standard os detection macro
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 6e67551d..6d8fe8e4 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -40,7 +40,7 @@ namespace GpgFrontend { -#ifdef WINDOWS +#if defined(_WIN32) || defined(WIN32) int setenv(const char *name, const char *value, int overwrite) { if (!overwrite) { int errcode = 0; |