summaryrefslogtreecommitdiff
path: root/src/windows/platform.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-11 15:02:55 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-11 15:02:55 +0100
commitdd286e9f696ebd631af45bca82ca458aafd21728 (patch)
tree18b8a8a101bce4864f2ef0f84d46881c11d1dd36 /src/windows/platform.c
parent807d87681c5eca52fee692321ae0279324204cc6 (diff)
platform work
Diffstat (limited to 'src/windows/platform.c')
-rw-r--r--src/windows/platform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows/platform.c b/src/windows/platform.c
index 4b9ae61..dd7b97f 100644
--- a/src/windows/platform.c
+++ b/src/windows/platform.c
@@ -842,6 +842,11 @@ file_content platform_read_file_content(char *path, const char *mode)
return result;
}
+void platform_delete_file(char *path)
+{
+ remove(path);
+}
+
bool platform_write_file_content(char *path, const char *mode, char *buffer, s32 len)
{
bool result = false;