diff options
| author | unknown <user@.(none)> | 2008-05-06 22:57:13 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | c51b91cfe79a1ffd5da3f6a6ce202982cdfcdf85 (patch) | |
| tree | e319ca16144d95bb99aedadcbbcf05240b5f4611 /src/files.h | |
| parent | 5d3725f9d972cde917ab9b076cb0b89b33557c7a (diff) | |
Windows WIP.
Diffstat (limited to 'src/files.h')
| -rw-r--r-- | src/files.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/files.h b/src/files.h index 87359e2..ff7614e 100644 --- a/src/files.h +++ b/src/files.h @@ -1,6 +1,11 @@ -#ifndef __FILES_H__ -#define __FILES_H__ +#ifndef FILES_H +#define FILES_H +#ifdef __cplusplus +extern "C" { +#endif + +#include <stdio.h> #include <time.h> #define FILEMODE_READONLY 0x01 @@ -33,4 +38,8 @@ void *OpenGameDirectory(const char *dirname, const char *pattern, int type); GameDirectoryFile *ScanGameDirectory(void *dir); int CloseGameDirectory(void *dir); +#ifdef __cplusplus +}; +#endif + #endif |
