GBDK 2020 Docs  4.3.0
API Documentation for GBDK 2020
gbdk-lib.h
Go to the documentation of this file.
1 
4 #ifndef GBDK_LIB_INCLUDE
5 #define GBDK_LIB_INCLUDE
6 
7 #if defined(__PORT_sm83)
8  #include <asm/sm83/provides.h>
9 #elif defined(__PORT_z80)
10  #include <asm/z80/provides.h>
11 #elif defined(__PORT_mos6502)
12  #include <asm/mos6502/provides.h>
13 #else
14  #error Unrecognized port
15 #endif
16 
17 
18 #ifndef USE_C_MEMCPY
19 #define USE_C_MEMCPY 1
20 #endif
21 #ifndef USE_C_STRCPY
22 #define USE_C_STRCPY 1
23 #endif
24 #ifndef USE_C_STRCMP
25 #define USE_C_STRCMP 1
26 #endif
27 
28 #endif