dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
resinc.h
Go to the documentation of this file.
1
2#ifndef RESINC_H
3#define RESINC_H
4
13#if 0
14#if defined PLATFORM_DOS && defined RESOURCE_FILE
15#error "DOS has insufficent memory to use JSON parser."
16#endif
17#endif
18
19#if defined RESOURCE_HEADER
20# define RESOURCES "HEADER"
21# include "resource/header.h"
22#elif defined PLATFORM_WASM && !defined RESOURCE_FILE
23# define RESOURCES "WASM"
24# include "resource/webr.h"
25#elif defined PLATFORM_NDS && !defined RESOURCE_FILE
26# define RESOURCES "NDS"
27# include "resource/ndsr.h"
28#elif defined PLATFORM_WIN && !defined RESOURCE_FILE
29# define RESOURCES "WIN"
30# include "resource/winr.h"
31#elif defined PLATFORM_PALM && !defined RESOURCE_FILE
32# define RESOURCES "PALM"
33# include "resource/palmr.h"
34#elif !defined RESOURCE_FILE
35/* Nothing else has been defined, so fall back to file. */
36# define RESOURCE_FILE
37#endif
38
39#ifdef RESOURCE_FILE
40# define RESOURCES "FILE"
41# include "resource/file.h"
42#endif /* RESOURCE_FILE */
43 /* unilayer_resource */
45
46#endif /* !RESINC_H */
47