diff options
-rw-r--r-- | lib/System/Unix/Path.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 47e4d1ac3c..184da1e27a 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -372,6 +372,8 @@ Path Path::GetMainExecutable(const char *argv0, void *MainAddr) { char link_path[MAXPATHLEN]; if (realpath(DLInfo.dli_fname, link_path)) return Path(std::string(link_path)); +#else +#error GetMainExecutable is not implemented on this host yet. #endif return Path(); } |