diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -42,7 +42,7 @@ #ifdef __cplusplus extern "C" #endif -BOOLEAN WINAPI +static BOOLEAN WINAPI CreateSymbolicLink(LPCTSTR linkpath, LPCTSTR targetpath, DWORD flags) { typedef BOOLEAN (WINAPI* PFUNC)(LPCTSTR, LPCTSTR, DWORD); @@ -180,6 +180,8 @@ lilv_get_lang(void) return lang; } +#ifndef _WIN32 + /** Append suffix to dst, update dst_len, and return the realloc'd result. */ static char* strappend(char* dst, size_t* dst_len, const char* suffix, size_t suffix_len) @@ -204,6 +206,8 @@ append_var(char* dst, size_t* dst_len, const char* var) } } +#endif + /** Expand variables (e.g. POSIX ~ or $FOO, Windows %FOO%) in `path`. */ char* lilv_expand(const char* path) |