X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fcommon.h;h=1f0e749f0771d6e21d4877aa3410c2822f179a09;hb=3ad4532bb952dbcb28a2b9fa72d7f1f87b5f8fd4;hp=e074450de2322cd6c5c236c7b208a5f545565c49;hpb=608ec5aa6e1bd522777faa63323beaeaef928928;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/common.h b/Usermode/Applications/axwin3_src/WM/include/common.h index e074450d..1f0e749f 100644 --- a/Usermode/Applications/axwin3_src/WM/include/common.h +++ b/Usermode/Applications/axwin3_src/WM/include/common.h @@ -8,7 +8,12 @@ #ifndef _COMMON_H_ #define _COMMON_H_ +#ifndef AXWIN_SDL_BUILD #include +#else +#include +#define _SysDebug(f,a...) fprintf(stderr, f"\n" ,## a) +#endif #define TODO(str) @@ -21,21 +26,7 @@ static inline int MIN(int a, int b) { return (a < b) ? a : b; } static inline int MAX(int a, int b) { return (a > b) ? a : b; } -// === GLOBALS === -extern int giTerminalFD; -extern const char *gsTerminalDevice; - extern int giScreenWidth, giScreenHeight; -// === FUNCTIONS === -// --- Input --- -extern int Input_Init(void); -extern void Input_FillSelect(int *nfds, fd_set *set); -extern void Input_HandleSelect(fd_set *set); -// --- IPC --- -extern void IPC_Init(void); -extern void IPC_FillSelect(int *nfds, fd_set *set); -extern void IPC_HandleSelect(fd_set *set); - #endif