[Mit-cadr-cvs] r360 - trunk/emulator/usim

ggilley at common-lisp.net ggilley at common-lisp.net
Tue Nov 27 06:19:01 UTC 2012


Author: ggilley
Date: Mon Nov 26 22:19:00 2012
New Revision: 360

Log:
local chaos working on netbsd, checked in turned off

Modified:
   trunk/emulator/usim/Makefile
   trunk/emulator/usim/chaos.c
   trunk/emulator/usim/chaos.h

Modified: trunk/emulator/usim/Makefile
==============================================================================
--- trunk/emulator/usim/Makefile	Mon Nov 26 21:52:35 2012	(r359)
+++ trunk/emulator/usim/Makefile	Mon Nov 26 22:19:00 2012	(r360)
@@ -91,6 +91,8 @@
 ifeq ($(OS), NETBSD)
 CFLAGS = -O2 -g $(DEFINES) -I/usr/pkg/include
 LFLAGS = -R/usr/pkg/lib -L/usr/pkg/lib
+USIM_SRC += Files.c glob.c
+USIM_HDR += Files.h glob.h
 endif
 
 # override above if 64 bit

Modified: trunk/emulator/usim/chaos.c
==============================================================================
--- trunk/emulator/usim/chaos.c	Mon Nov 26 21:52:35 2012	(r359)
+++ trunk/emulator/usim/chaos.c	Mon Nov 26 22:19:00 2012	(r360)
@@ -36,7 +36,7 @@
 #include "endian.h"
 #include "chaos.h"
 
-#if defined(OSX) || defined(linux)
+#if defined(OSX) || defined(linux) // || defined(BSD)
 #define USE_LOCAL_CHAOS     1
 #endif
 
@@ -1339,10 +1339,6 @@
 
 static struct sockaddr_un unix_addr;
 
-typedef struct chaos_packet chaos_packet;
-typedef struct chaos_connection chaos_connection;
-
-
 chaos_packet *
 chaos_allocate_packet(chaos_connection *conn, int opcode, int len)
 {

Modified: trunk/emulator/usim/chaos.h
==============================================================================
--- trunk/emulator/usim/chaos.h	Mon Nov 26 21:52:35 2012	(r359)
+++ trunk/emulator/usim/chaos.h	Mon Nov 26 22:19:00 2012	(r360)
@@ -24,7 +24,7 @@
 int chaos_init(void);
 int chaos_reconnect(void);
 
-#if defined(OSX) || defined(linux)
+#if defined(OSX) || defined(linux) || defined(BSD)
 
 #define CHAOS_SERVER_ADDRESS 0404
 #define CHAOS_SERVER_NAME    "server"




More information about the mit-cadr-cvs mailing list