This commit is contained in:
Kovid Goyal 2020-04-21 22:04:34 +05:30
parent 717c0c96de
commit d0329460b8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -31,6 +31,7 @@
#define KITTY_LIB_DIR_NAME "lib"
#endif
#ifndef __FreeBSD__
static inline bool
safe_realpath(const char* src, char *buf, size_t buf_sz) {
char* ans = realpath(src, NULL);
@ -39,6 +40,7 @@ safe_realpath(const char* src, char *buf, size_t buf_sz) {
free(ans);
return true;
}
#endif
static inline void
set_bundle_exe_dir(const wchar_t *exe_dir) {