CVS update: /ccvs/windows-NT/sys/
[email protected] 1 Jun 2005 03:53:52 -0000
| Newsgroups | gmane.comp.version-control.cvs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: conradpino Date: 05/05/31 20:53:52 Modified: /ccvs/windows-NT/sys/ ChangeLog, types.h Log: * types.h: Add Visual C++ .NET 2003 - cl.exe version 13.10 support. File Changes: Directory: /ccvs/windows-NT/sys/ ================================ File [changed]: ChangeLog Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/sys/ChangeLog?r1=1.1&r2=1.2 Delta lines: +4 -0 ------------------- --- ChangeLog 31 May 2005 09:53:43 -0000 1.1 +++ ChangeLog 1 Jun 2005 03:53:50 -0000 1.2 @@ -1,5 +1,9 @@ 2005-05-31 Conrad T. Pino <[email protected]> + * types.h: Add Visual C++ .NET 2003 - cl.exe version 13.10 support. + +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 [changed]: types.h Url: https://ccvs.cvshome.org/source/browse/ccvs/windows-NT/sys/types.h?r1=1.1&r2=1.2 Delta lines: +22 -4 -------------------- --- types.h 31 May 2005 09:53:43 -0000 1.1 +++ types.h 1 Jun 2005 03:53:50 -0000 1.2 @@ -6,10 +6,20 @@ #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]>" ) +/* cl.exe version number legend: */ +/* */ +/* ! cl.exe version number confirmed */ +/* ? cl.exe version number uncertain */ +/* */ +/* Verified with Visual C++ 6.0 - cl.exe version 12.00 ! */ +/* No tests with Visual C++ .NET - cl.exe version 13.00 ? */ +/* Verified with Visual C++ .NET 2003 - cl.exe version 13.10 ! */ +/* No tests with Visual C++ 2005 - cl.exe version 14.00 ? */ +/* */ +#if _MSC_VER != 1200 && _MSC_VER != 1310 +#pragma message ( "Please email Microsoft's <sys/types.h> file" ) +#pragma message ( "and version number from \"cl /?\" command to" ) +#pragma message ( "<[email protected]>. Thank you." ) #endif /* _MSC_VER != 1200 */ /***************************************************************************/ @@ -23,7 +33,15 @@ #ifndef _TIME_T_DEFINED #define _TIME_T_DEFINED +#if defined(_WIN64) && _MSC_VER >= 1300 +typedef __int64 time_t; +#else typedef long time_t; +#endif + +#if _INTEGRAL_MAX_BITS >= 64 +typedef __int64 __time64_t; +#endif #endif /* _TIME_T_DEFINED */