--- uae/src/include/sysdeps.h 2018/04/24 17:14:48 1.1.1.11 +++ uae/src/include/sysdeps.h 2018/04/24 17:18:53 1.1.1.13 @@ -378,9 +378,15 @@ extern void write_log (const char *, ... extern void write_log (const char *, ...); #endif +#if 0 extern void console_out (const char *, ...); extern void console_flush (void); extern int console_get (char *, int); +#else +#define console_out printf +#define console_flush() fflush (stdout) +#define console_get(BUF, COUNT) fgets (BUF, COUNT, stdin) +#endif #ifndef O_BINARY #define O_BINARY 0 @@ -390,9 +396,11 @@ extern int console_get (char *, int); #if __GNUC__ - 1 > 1 && __GNUC_MINOR__ - 1 >= 0 #define STATIC_INLINE static __inline__ __attribute__ ((always_inline)) #define NOINLINE __attribute__ ((noinline)) +#define NORETURN __attribute__ ((noreturn)) #else #define STATIC_INLINE static __inline__ #define NOINLINE +#define NORETURN #endif #endif