diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/mingw.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libbb/mingw.c b/libbb/mingw.c index f90fbc1d2..e3ec2782c 100644 --- a/libbb/mingw.c +++ b/libbb/mingw.c | |||
@@ -1280,3 +1280,12 @@ char *strptime(const char *s, const char *format, struct tm *tm) | |||
1280 | void unsetenv(const char *env) | 1280 | void unsetenv(const char *env) |
1281 | { | 1281 | { |
1282 | } | 1282 | } |
1283 | |||
1284 | const char *get_busybox_exec_path() | ||
1285 | { | ||
1286 | static char path[PATH_MAX] = ""; | ||
1287 | |||
1288 | if (!*path) | ||
1289 | GetModuleFileName(NULL, path, PATH_MAX); | ||
1290 | return path; | ||
1291 | } | ||