drawterm/include/dtos.h

16 lines
358 B
C
Raw Normal View History

2005-12-29 22:40:50 +00:00
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__)
2005-08-08 12:50:13 +00:00
# include "unix.h"
# ifdef __APPLE__
# define panic dt_panic
# endif
#elif defined(WINDOWS)
# include "9windows.h"
2005-11-08 01:35:49 +00:00
# define main mymain
2005-08-08 12:50:13 +00:00
#else
# error "Define an OS"
#endif
2005-12-29 23:41:14 +00:00
#ifdef IRIX
typedef int socklen_t;
#endif