Skip to content

Commit

Permalink
add missing windows.h
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtmac committed Mar 21, 2024
1 parent 906383d commit 865ace2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c++/test/TestTimezone.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#ifdef _MSC_VER
#include "processenv.h"
#include "windows.h"
#endif

#include <iostream>
Expand Down Expand Up @@ -417,7 +418,7 @@ namespace orc {

bool delEnv(const char* name) {
#ifdef _MSC_VER
return SetEnvironmentVariableA(name, nullptr));
return SetEnvironmentVariableA(name, nullptr);
#else
return unsetenv(name) == 0;
#endif
Expand Down

0 comments on commit 865ace2

Please sign in to comment.