Skip to content

Commit

Permalink
Correct preprocessor token _APPLE__ to __APPLE__
Browse files Browse the repository at this point in the history
  • Loading branch information
tmostak authored and andrewseidl committed Aug 16, 2021
1 parent e382436 commit 94baee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQLFrontend/CommandHistoryFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class DefaultEnvResolver {
return nullptr;
}

#if defined(_APPLE__) || defined(_WIN32)
#if defined(__APPLE__) || defined(_WIN32)
auto const* getenv(char const* env_var_name) const { return ::getenv(env_var_name); }
#else
auto const* getenv(char const* env_var_name) const {
Expand Down

0 comments on commit 94baee9

Please sign in to comment.