Commit ec70372f authored by Ben Boeckel's avatar Ben Boeckel Committed by Adam Cozzette

command_line_interface: check if __APPLE__ is defined

parent e4bbca1f
......@@ -195,7 +195,7 @@ bool GetProtocAbsolutePath(std::string* path) {
#ifdef _WIN32
char buffer[MAX_PATH];
int len = GetModuleFileNameA(NULL, buffer, MAX_PATH);
#elif __APPLE__
#elif defined(__APPLE__)
char buffer[PATH_MAX];
int len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment