Subject | Win32 Compile Error |
---|---|
Author | Ken Richard |
Post date | 2001-04-16T16:53:46Z |
Hello. There are some compile errors on Win32. The MSVC socket.h has int*
as the type of the third parameter of accept(). I know that we went over
this before, but I never got around to verifying the fix because of other
projects I am working on. I hope to do some more testing of
interserver/interclient on win32 soon.
Index: interclient/20/dev/interserver/NetTCP.cpp
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/NetTCP.cpp,v
retrieving revision 1.3
diff -r1.3 NetTCP.cpp
147a148,150
as the type of the third parameter of accept(). I know that we went over
this before, but I never got around to verifying the fix because of other
projects I am working on. I hope to do some more testing of
interserver/interclient on win32 soon.
Index: interclient/20/dev/interserver/NetTCP.cpp
===================================================================
RCS file: /cvsroot/firebird/interclient/20/dev/interserver/NetTCP.cpp,v
retrieving revision 1.3
diff -r1.3 NetTCP.cpp
147a148,150
> #ifdef WIN32148a152
> #define socklen_t int
> #else
> #endif