2007-09-28 16:58:54 +04:00
|
|
|
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__sun) || defined(sun) || defined(__OpenBSD__)
|
2005-08-08 16:50:13 +04:00
|
|
|
# include "unix.h"
|
|
|
|
# ifdef __APPLE__
|
|
|
|
# define panic dt_panic
|
|
|
|
# endif
|
|
|
|
#elif defined(WINDOWS)
|
2005-10-31 18:30:23 +03:00
|
|
|
# include "9windows.h"
|
2005-11-08 04:35:49 +03:00
|
|
|
# define main mymain
|
2005-08-08 16:50:13 +04:00
|
|
|
#else
|
|
|
|
# error "Define an OS"
|
|
|
|
#endif
|
2005-12-30 02:41:14 +03:00
|
|
|
|
|
|
|
#ifdef IRIX
|
|
|
|
typedef int socklen_t;
|
|
|
|
#endif
|