From: Ty S. <ts...@us...> - 2000-10-12 02:52:23
|
Update of /cvsroot/firebird/interbase/remote In directory slayer.i.sourceforge.net:/tmp/cvs-serv18269/remote Modified Files: inet_server.c protocol.h remote_def.h Log Message: NetBSD support. Thanks to Geoffrey C. Speicher for the FreeBSD port, which made this much easier. Index: inet_server.c =================================================================== RCS file: /cvsroot/firebird/interbase/remote/inet_server.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** inet_server.c 2000/08/03 20:54:04 1.1.1.1 --- inet_server.c 2000/10/12 02:52:18 1.2 *************** *** 64,68 **** --- 64,72 ---- #ifdef UNIX + #ifdef NETBSD + #include <signal.h> + #else #include <sys/signal.h> + #endif #endif Index: protocol.h =================================================================== RCS file: /cvsroot/firebird/interbase/remote/protocol.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** protocol.h 2000/08/16 23:30:39 1.2 --- protocol.h 2000/10/12 02:52:18 1.3 *************** *** 116,121 **** arch_linux = 36, arch_freebsd = 37, ! arch_max = 38 /* Keep this at the end */ } P_ARCH; --- 116,122 ---- arch_linux = 36, arch_freebsd = 37, + arch_netbsd = 38, ! arch_max = 39 /* Keep this at the end */ } P_ARCH; Index: remote_def.h =================================================================== RCS file: /cvsroot/firebird/interbase/remote/remote_def.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** remote_def.h 2000/08/16 23:30:39 1.2 --- remote_def.h 2000/10/12 02:52:18 1.3 *************** *** 159,162 **** --- 159,166 ---- #endif + #ifdef NETBSD + #define ARCHITECTURE arch_netbsd + #endif + #define SRVR_server 1 /* 0x0001 server */ |