diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-03-14 16:39:26 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-03-22 22:37:47 -0400 |
commit | 1542a626a3649e5fc1becec1eff2715a6108d144 (patch) | |
tree | 1a9f13cfd2f0eb8296cb3232a1697ce8212ef5f1 /utils/fs | |
parent | 7e0451c6ce78b08b5f7564aa03a9a86051b35163 (diff) | |
download | haskell-1542a626a3649e5fc1becec1eff2715a6108d144.tar.gz |
fs.h: Add missing declarations on Windows
Diffstat (limited to 'utils/fs')
-rw-r--r-- | utils/fs/fs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/fs/fs.h b/utils/fs/fs.h index 3931e6e03e..cb04d54127 100644 --- a/utils/fs/fs.h +++ b/utils/fs/fs.h @@ -37,6 +37,13 @@ int FS(_stat) (const char *path, struct _stat *buffer); int FS(_stat64) (const char *path, struct __stat64 *buffer); int FS(_wstat) (const wchar_t *path, struct _stat *buffer); int FS(_wstat64) (const wchar_t *path, struct __stat64 *buffer); +int FS(_wrename) (const wchar_t *from, const wchar_t *to); +int FS(rename) (const char *from, const char *to); +int FS(unlink) (const char *filename); +int FS(_unlink) (const char *filename); +int FS(_wunlink) (const wchar_t *filename); +int FS(remove) (const char *path); +int FS(_wremove) (const wchar_t *path); #else FILE *FS(fopen) (const char* filename, const char* mode); |