httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/include/arch/win32 fileio.h
Date Fri, 10 Nov 2000 21:51:49 GMT
wrowe       00/11/10 13:51:49

  Modified:    src/lib/apr/include/arch/win32 fileio.h
  Log:
    Attacking the problem from another front... borland users might want
    something similar, if they have win32 ommisions from sys/stat.h.
  
  Revision  Changes    Path
  1.38      +9 -0      apache-2.0/src/lib/apr/include/arch/win32/fileio.h
  
  Index: fileio.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/arch/win32/fileio.h,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- fileio.h	2000/11/10 19:58:45	1.37
  +++ fileio.h	2000/11/10 21:51:49	1.38
  @@ -89,6 +89,15 @@
   
   #define APR_FILE_BUFSIZE 4096
   
  +/* obscure ommissions from msvc's sys/stat.h */
  +#ifdef _MSC_VER
  +#define S_IFIFO        _S_IFIFO /* pipe */
  +#define S_IFBLK        0060000  /* Block Special */
  +#define S_IFLNK        0120000  /* Symbolic Link */
  +#define S_IFSOCK       0140000  /* Socket */
  +#define S_IFWHT        0160000  /* Whiteout */
  +#endif
  +
   #if APR_HAS_UNICODE_FS
   #include "i18n.h"
   #include <wchar.h>
  
  
  

Mime
View raw message