]> icculus.org git repositories - taylor/freespace2.git/blob - include/platform.h
fix incorrect FS2 demo ifdef
[taylor/freespace2.git] / include / platform.h
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3
4
5 #include <stdio.h>      // For NULL, etc
6 #include <stdlib.h>
7 #include <memory.h>
8 #include <malloc.h>
9 #include <string.h>
10
11 #ifdef PLAT_UNIX
12 #include "unix.h"
13 #ifdef __EMSCRIPTEN__
14 #include <emscripten.h>
15 #endif
16 #else
17 #include "win.h"
18 #endif
19
20
21 void base_filename(const char *path, char *filename, const int max_fname);
22
23 int platform_open_url(const char *url);
24
25 #endif // PLATFORM_H