mirror of
https://github.com/0intro/conterm
synced 2024-11-22 05:41:28 +03:00
16 lines
358 B
C
16 lines
358 B
C
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__)
|
|
# include "unix.h"
|
|
# ifdef __APPLE__
|
|
# define panic dt_panic
|
|
# endif
|
|
#elif defined(WINDOWS)
|
|
# include "9windows.h"
|
|
# define main mymain
|
|
#else
|
|
# error "Define an OS"
|
|
#endif
|
|
|
|
#ifdef IRIX
|
|
typedef int socklen_t;
|
|
#endif
|