Some TCC adaptations
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#ifdef __TINYC__
|
||||
#include <tcclib.h>
|
||||
#define stderr 2
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
@@ -302,7 +303,7 @@ void equi_main_loop() {
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
/* _attempt_ to disable buffering for char input/output */
|
||||
#ifndef __CC65__
|
||||
#if !defined __CC65__ && !defined __TINYC__
|
||||
setvbuf(stdin, NULL, _IONBF, 0);
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user