tcc didn't hget hurt
This commit is contained in:
@@ -9,38 +9,20 @@
|
||||
* @author Luxferre
|
||||
*/
|
||||
|
||||
/* Standard includes with size optimizations for TCC */
|
||||
/* Standard or non-standard includes depending on the target */
|
||||
|
||||
#ifdef __TINYC__
|
||||
#include <tcclib.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#define stderr 2
|
||||
#define SEEK_SET 0
|
||||
#ifdef __CC65__
|
||||
#include <conio.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Non-standard includes
|
||||
* To save space, we emulate necessary conio functions on non-6502 systems, not vice versa
|
||||
*/
|
||||
|
||||
#ifdef __CC65__
|
||||
#include <conio.h>
|
||||
#else
|
||||
#define cgetc() (getchar())
|
||||
#define cputc(c) (putchar(c))
|
||||
#endif
|
||||
|
||||
/* also, do our best to ensure short-packed value storage in our virtual RAM */
|
||||
#pragma pack(2)
|
||||
#endif
|
||||
|
||||
/* Definitions section */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user