git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/include/stdlib.h

      1 /** file stdlib.h
      2     'Standard library' functions, for whatever that means.
      3 */
      4 #ifndef STD_STDLIB_INCLUDE
      5 #define STD_STDLIB_INCLUDE
      6 
      7 #if defined(__PORT_sm83)
      8   #include <asm/sm83/stdlib.h>
      9 #elif defined(__PORT_z80)
     10   #include <asm/z80/stdlib.h>
     11 #elif defined(__PORT_mos6502)
     12   #include <asm/mos6502/stdlib.h>
     13 #else
     14   #error Unrecognized port
     15 #endif
     16 
     17 #endif

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.