[PHP-DEV] CVS update: php3/dbase From: shane (php-dev <email protected>)
Date: 12/20/98

Date: Sunday December 20, 1998 @ 14:06
Author: shane

Update of /repository/php3/dbase
In directory asf:/u/temp/cvs-serv19439/dbase

Modified Files:
        dbf.h
Log Message:
fix compiler warning on windows

Index: php3/dbase/dbf.h
diff -c php3/dbase/dbf.h:1.4 php3/dbase/dbf.h:1.5
*** php3/dbase/dbf.h:1.4 Mon Nov 23 01:07:26 1998
--- php3/dbase/dbf.h Sun Dec 20 14:06:04 1998
***************
*** 18,31 ****
  
  #include <stdlib.h>
  #include <string.h>
! #if MSVC5
  #include <io.h>
  #else
  #include <unistd.h>
  #endif
  
  /* So we can use O_BINARY on non-Win32 systems. */
! #ifndef O_BINARY
  #define O_BINARY (0)
  #endif
  
--- 18,31 ----
  
  #include <stdlib.h>
  #include <string.h>
! #ifdef WIN32
  #include <io.h>
  #else
  #include <unistd.h>
  #endif
  
  /* So we can use O_BINARY on non-Win32 systems. */
! #if !defined(O_BINARY) && !defined(WIN32)
  #define O_BINARY (0)
  #endif
  

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>