Skip to content

Commit 5779284

Browse files
committed
Replace #elifdef with #else ifdef due to build error on Windows
1 parent 7b80d6f commit 5779284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class GuiInterface {
141141
static std::string GetAppDataDir() {
142142
#ifdef _WIN32
143143
auto dir = std::string(getenv("APPDATA")) + "\\Aviateur\\";
144-
#elifdef __linux__
144+
#else ifdef __linux__
145145
passwd *pw = getpwuid(getuid());
146146
const char *home_dir = pw->pw_dir;
147147
auto dir = std::string(home_dir) + "/aviateur/";

0 commit comments

Comments
 (0)