diff options
Diffstat (limited to 'src/platform/path.c')
-rw-r--r-- | src/platform/path.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/path.c b/src/platform/path.c index 9572941..e49aa3a 100644 --- a/src/platform/path.c +++ b/src/platform/path.c @@ -1,12 +1,12 @@ #include "path.h" -#include <libgen.h> #include <stdlib.h> #include <string.h> #include "mem.h" #include "str.h" #if defined(CEL_PLATFORM_LINUX) || defined(CEL_PLATFORM_MAC) +#include <libgen.h> path_opt path_parent(arena* a, const char* path) { // Duplicate the string because dirname doesnt like const literals char* path_copy = arena_alloc(a, strlen(path) + 1); @@ -16,5 +16,5 @@ path_opt path_parent(arena* a, const char* path) { } #endif #ifdef CEL_PLATFORM_WINDOWS -// TODO: path_opt path_parent(const char* path) -#endif
\ No newline at end of file +path_opt path_parent(arena* a, const char* path) {} +#endif |