diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 15:02:55 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 15:02:55 +0100 |
| commit | dd286e9f696ebd631af45bca82ca458aafd21728 (patch) | |
| tree | 18b8a8a101bce4864f2ef0f84d46881c11d1dd36 /src/windows | |
| parent | 807d87681c5eca52fee692321ae0279324204cc6 (diff) | |
platform work
Diffstat (limited to 'src/windows')
| -rw-r--r-- | src/windows/platform.c | 5 |
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; |
