CVS update: /ccvs/windows-NT/sys/
[email protected] 31 May 2005 09:53:45 -0000
| Newsgroups | gmane.comp.version-control.cvs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: conradpino Date: 05/05/31 02:53:45 Added: /ccvs/windows-NT/sys/ ChangeLog, types.h Log: * types.h: Microsoft's implementation is way too lame. Define symbols used by Visual C++ 6.0 - cl.exe version 12.00 Define symbols used by CVS Project. File Changes: Directory: /ccvs/windows-NT/sys/ ================================ File [added]: ChangeLog Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/sys/ChangeLog?rev=1.1&content-type=text/vnd.viewcvs-markup Added lines: 5 -------------- 2005-05-31 Conrad T. Pino <[email protected]> * types.h: Microsoft's implementation is way too lame. Define symbols used by Visual C++ 6.0 - cl.exe version 12.00 Define symbols used by CVS Project. File [added]: types.h Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/sys/types.h?rev=1.1&content-type=text/vnd.viewcvs-markup Added lines: 77 --------------- /* * windows-NT/sys/types.h */ #ifdef _MSC_VER #pragma once /* Compatable with Visual C++ 6.0 - cl.exe 12.00 */ #if _MSC_VER != 1200 #pragma message ( "Please email Microsoft's <sys/types.h>" ) #pragma message ( "file to <[email protected]>" ) #endif /* _MSC_VER != 1200 */ /***************************************************************************/ /* Mimic what Micrsoft defines in their <sys/types.h> */ #ifndef _INC_TYPES #define _INC_TYPES /* Define time_t */ #ifndef _TIME_T_DEFINED #define _TIME_T_DEFINED typedef long time_t; #endif /* _TIME_T_DEFINED */ /* Define ino_t */ #ifndef _INO_T_DEFINED #define _INO_T_DEFINED typedef unsigned short ino_t; /* Microsoft uses _ino_t */ typedef ino_t _ino_t; #endif /* _INO_T_DEFINED */ /* Define dev_t */ #ifndef _DEV_T_DEFINED #define _DEV_T_DEFINED typedef unsigned int dev_t; /* Microsoft uses _dev_t */ typedef dev_t _dev_t; #endif /* _DEV_T_DEFINED */ /* Define off_t */ #ifndef _OFF_T_DEFINED #define _OFF_T_DEFINED typedef long off_t; /* Microsoft uses _off_t */ typedef off_t _off_t; #endif /* _OFF_T_DEFINED */ #endif /* _INC_TYPES */ /***************************************************************************/ /* define what Micrsoft doesn't */ typedef int gid_t; typedef int pid_t; typedef int uid_t; typedef unsigned int useconds_t; /***************************************************************************/ #else /* _MSC_VER */ #error This file is for use with Microsoft compilers only. #endif /* _MSC_VER */