Remove unnecessary _NSGetExecutablePath declaration

We do this in common.cpp now, and are including dyld.h anyhow.
This commit is contained in:
Aaron Gyes 2019-02-10 16:47:05 -08:00
parent 1c9fe71240
commit 634e97a85e

View file

@ -84,11 +84,6 @@ static bool get_realpath(std::string &path) {
return ptr != NULL;
}
// OS X function for getting the executable path.
extern "C" {
int _NSGetExecutablePath(char *buf, uint32_t *bufsize);
}
static struct config_paths_t determine_config_directory_paths(const char *argv0) {
struct config_paths_t paths;
bool done = false;