GBDK 2020 Docs
4.3.0
API Documentation for GBDK 2020
platform.h
Go to the documentation of this file.
1
#ifndef __PLATFORM_H_INCLUDE
2
#define __PLATFORM_H_INCLUDE
3
4
#if defined(__TARGET_gb) || defined(__TARGET_ap) || defined(__TARGET_duck)
5
#include <
gb/gb.h
>
6
#include <
gb/cgb.h
>
7
#include <
gb/sgb.h
>
8
#elif defined(__TARGET_sms) || defined(__TARGET_gg)
9
#include <
sms/sms.h
>
10
#elif defined(__TARGET_msxdos)
11
#include <
msx/msx.h
>
12
#elif defined(__TARGET_nes)
13
#include <
nes/nes.h
>
14
#else
15
#error Unrecognized port
16
#endif
17
18
#endif
cgb.h
gb.h
msx.h
nes.h
sgb.h
sms.h