Make it work with the new coding scheme.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@869 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-27 00:52:55 +00:00
parent 73b1854c3f
commit ba6fe63bd0
2 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,8 @@
#include <objects/SocketPort.h>
#include <objects/Connection.h>
#include <objects/Proxy.h>
#include <objects/BinaryCoder.h>
#include <objects/Coder.h>
#include <objects/BinaryCStream.h>
#include <objects/String.h>
#include <assert.h>
#include "server.h"
@ -30,7 +31,7 @@ int main(int argc, char *argv[])
const char *type;
[Coder setDebugging:YES];
[BinaryCoder setDebugging:YES];
[BinaryCStream setDebugging:YES];
#if NeXT_runtime
[Proxy setProtocolForProxies:@protocol(AllProxies)];

View file

@ -1,9 +1,9 @@
#include <objects/stdobjects.h>
#include <stdio.h>
#include <objects/SocketPort.h>
#include <objects/BinaryCStream.h>
#include <objects/Connection.h>
#include <objc/List.h>
#include <objects/BinaryCoder.h>
#include <objects/String.h>
#include "server.h"
@ -202,7 +202,7 @@ int main()
double d;
Connection *c;
[BinaryCoder setDebugging:YES];
[BinaryCStream setDebugging:YES];
#if NeXT_runtime
[Proxy setProtocolForProxies:@protocol(AllProxies)];