/[cvs]/ccvs/windows-NT/sys/types.h
ViewVC logotype

Diff of /ccvs/windows-NT/sys/types.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dprice, Thu Sep 1 13:49:01 2005 UTC revision 1.4 by conradpino, Mon Sep 26 18:11:12 2005 UTC
# Line 11  Line 11 
11  /*      ! cl.exe version number confirmed                      */  /*      ! cl.exe version number confirmed                      */
12  /*      ? cl.exe version number uncertain                      */  /*      ? cl.exe version number uncertain                      */
13  /*                                                             */  /*                                                             */
14    /* Verified with Visual C++ 5.0       - cl.exe version 11.00 ! */
15  /* Verified with Visual C++ 6.0       - cl.exe version 12.00 ! */  /* Verified with Visual C++ 6.0       - cl.exe version 12.00 ! */
16  /* No tests with Visual C++ .NET      - cl.exe version 13.00 ? */  /* No tests with Visual C++ .NET      - cl.exe version 13.00 ? */
17  /* Verified with Visual C++ .NET 2003 - cl.exe version 13.10 ! */  /* Verified with Visual C++ .NET 2003 - cl.exe version 13.10 ! */
18  /* No tests with Visual C++ 2005      - cl.exe version 14.00 ? */  /* No tests with Visual C++ 2005      - cl.exe version 14.00 ? */
19  /*                                                             */  /*                                                             */
20  #if _MSC_VER != 1200 && _MSC_VER != 1310  #if _MSC_VER != 1100 && _MSC_VER != 1200 && _MSC_VER != 1310
21  #pragma message ( "Please email Microsoft's <sys/types.h> file" )  #pragma message ( "Please email Microsoft's <sys/types.h> file" )
22  #pragma message ( "and version number from \"cl /?\" command to" )  #pragma message ( "and version number from \"cl /?\" command to" )
23  #pragma message ( "<conradpino@gnu.org>.  Thank you." )  #pragma message ( "<conradpino@cvsproject.org>.  Thank you." )
24  #endif /* _MSC_VER != 1200 */  #endif /* _MSC_VER != 1200 */
25    
26  /***************************************************************************/  /***************************************************************************/
# Line 50  typedef __int64 __time64_t; Line 51  typedef __int64 __time64_t;
51  #ifndef _INO_T_DEFINED  #ifndef _INO_T_DEFINED
52  #define _INO_T_DEFINED  #define _INO_T_DEFINED
53    
54    #if _MSC_VER == 1100
55    
56    typedef unsigned short _ino_t;          /* i-node number (not used on DOS) */
57    
58    #if     !__STDC__
59    /* Non-ANSI name for compatibility */
60    #ifdef  _NTSDK
61    #define ino_t _ino_t
62    #else   /* ndef _NTSDK */
63    typedef unsigned short ino_t;
64    #endif  /* _NTSDK */
65    #endif  /* !__STDC__ */
66    
67    #else   /*  _MSC_VER != 1100 */
68    
69  typedef unsigned short ino_t;  typedef unsigned short ino_t;
70    
71  /* Microsoft uses _ino_t */  /* Microsoft uses _ino_t */
72  typedef ino_t _ino_t;  typedef ino_t _ino_t;
73  #endif /* _INO_T_DEFINED */  
74    #endif  /*  _MSC_VER != 1100 */
75    
76    #endif  /* _INO_T_DEFINED */
77    
78    
79    
# Line 62  typedef ino_t _ino_t; Line 81  typedef ino_t _ino_t;
81  #ifndef _DEV_T_DEFINED  #ifndef _DEV_T_DEFINED
82  #define _DEV_T_DEFINED  #define _DEV_T_DEFINED
83    
84    #if _MSC_VER == 1100
85    
86    #ifdef  _NTSDK
87    typedef short _dev_t;                   /* device code */
88    #else   /* ndef _NTSDK */
89    typedef unsigned int _dev_t;            /* device code */
90    #endif  /* _NTSDK */
91    
92    #if     !__STDC__
93    /* Non-ANSI name for compatibility */
94    #ifdef  _NTSDK
95    #define dev_t _dev_t
96    #else   /* ndef _NTSDK */
97    typedef unsigned int dev_t;
98    #endif  /* _NTSDK */
99    #endif  /* !__STDC__ */
100    
101    #else   /*  _MSC_VER != 1100 */
102    
103  typedef unsigned int dev_t;  typedef unsigned int dev_t;
104    
105  /* Microsoft uses _dev_t */  /* Microsoft uses _dev_t */
106  typedef dev_t _dev_t;  typedef dev_t _dev_t;
107  #endif /* _DEV_T_DEFINED */  
108    #endif  /*  _MSC_VER != 1100 */
109    
110    #endif  /* _DEV_T_DEFINED */
111    
112    
113    
# Line 74  typedef dev_t _dev_t; Line 115  typedef dev_t _dev_t;
115  #ifndef _OFF_T_DEFINED  #ifndef _OFF_T_DEFINED
116  #define _OFF_T_DEFINED  #define _OFF_T_DEFINED
117    
118    #if _MSC_VER == 1100
119    
120    typedef long _off_t;                    /* file offset value */
121    
122    #if     !__STDC__
123    /* Non-ANSI name for compatibility */
124    #ifdef  _NTSDK
125    #define off_t _off_t
126    #else   /* ndef _NTSDK */
127    typedef long off_t;
128    #endif  /* _NTSDK */
129    #endif  /* !__STDC__ */
130    
131    #else   /*  _MSC_VER != 1100 */
132    
133  typedef long off_t;  typedef long off_t;
134    
135  /* Microsoft uses _off_t */  /* Microsoft uses _off_t */
136  typedef off_t _off_t;  typedef off_t _off_t;
137  #endif /* _OFF_T_DEFINED */  
138  #endif  /* _INC_TYPES */  #endif  /*  _MSC_VER != 1100 */
139    
140    #endif  /* _OFF_T_DEFINED */
141    
142    #endif  /* _INC_TYPES */
143    
144  /***************************************************************************/  /***************************************************************************/
145  /* define what Micrsoft doesn't */  /* define what Micrsoft doesn't */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26