fixed borland warning

This commit is contained in:
Jeff Hill
2001-01-22 22:52:51 +00:00
parent e7bfee6f8d
commit 57bf87beac
8 changed files with 19 additions and 20 deletions
+12 -4
View File
@@ -28,9 +28,13 @@
*/
#ifdef vxWorks
#include <vxWorks.h>
#include <rebootLib.h>
#include <logLib.h>
# include <vxWorks.h>
# include <rebootLib.h>
# include <logLib.h>
#endif
#ifdef _WIN32
# include <io.h>
#endif
/*
@@ -413,7 +417,11 @@ LOCAL void logClientConnect (logClient *pClient)
# endif
pClient->connectCount++;
pClient->file = fdopen (pClient->sock, "a");
#ifdef _WIN32
pClient->file = fdopen ( _open_osfhandle ( pClient->sock, 0 ), "a");
#else
pClient->file = fdopen ( pClient->sock, "a" );
#endif
if (!pClient->file) {
logClientReset (pClient);
epicsThreadSleep (10.0);