mirror of https://github.com/exaloop/codon.git
Fix header
parent
83ef1e1571
commit
f093d9578d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <cinttypes>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ std::string executable_path(const char *argv0) {
|
||||||
return llvm::sys::fs::getMainExecutable(argv0, p);
|
return llvm::sys::fs::getMainExecutable(argv0, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adopted from https://github.com/gpakosz/whereami/blob/master/src/whereami.c (MIT)
|
// Adapted from https://github.com/gpakosz/whereami/blob/master/src/whereami.c (MIT)
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <mach-o/dyld.h>
|
#include <mach-o/dyld.h>
|
||||||
|
|
Loading…
Reference in New Issue