Changeset 4834 for trunk/include/win/windef.h
- Timestamp:
- Dec 24, 2000, 1:28:20 PM (25 years ago)
- File:
-
- 1 edited
-
trunk/include/win/windef.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/windef.h
r4075 r4834 1 /* $Id: windef.h,v 1.2 4 2000-08-23 18:05:56sandervl Exp $ */1 /* $Id: windef.h,v 1.25 2000-12-24 12:28:20 sandervl Exp $ */ 2 2 3 3 /* … … 159 159 #endif 160 160 161 /* Anonymous union/struct handling */ 162 163 #ifdef __WINE__ 164 #if defined(__cplusplus) && !defined(NONAMELESSUNION) 165 # undef NONAMELESSSTRUCT 166 # undef NONAMELESSUNION 167 #else 168 # define NONAMELESSSTRUCT 169 # define NONAMELESSUNION 170 #endif 171 #else 172 /* Anonymous struct support starts with gcc/g++ 2.96 */ 173 # if !defined(NONAMELESSSTRUCT) && defined(__GNUC__) && ((__GNUC__ < 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ < 96))) 174 # define NONAMELESSSTRUCT 175 # endif 176 /* Anonymous unions support starts with gcc 2.96/g++ 2.95 */ 177 # if !defined(NONAMELESSUNION) && defined(__GNUC__) && ((__GNUC__ < 2) || ((__GNUC__ == 2) && ((__GNUC_MINOR__ < 95) || ((__GNUC_MINOR__ == 95) && !defined(__cplusplus))))) 178 # define NONAMELESSUNION 179 # endif 180 #endif 181 182 #ifndef NONAMELESSSTRUCT 183 #define DUMMYSTRUCTNAME 184 #define DUMMYSTRUCTNAME1 185 #define DUMMYSTRUCTNAME2 186 #define DUMMYSTRUCTNAME3 187 #define DUMMYSTRUCTNAME4 188 #define DUMMYSTRUCTNAME5 189 #else /* !defined(NONAMELESSSTRUCT) */ 190 #define DUMMYSTRUCTNAME s 191 #define DUMMYSTRUCTNAME1 s1 192 #define DUMMYSTRUCTNAME2 s2 193 #define DUMMYSTRUCTNAME3 s3 194 #define DUMMYSTRUCTNAME4 s4 195 #define DUMMYSTRUCTNAME5 s5 196 #endif /* !defined(NONAMELESSSTRUCT) */ 197 198 #ifndef NONAMELESSUNION 199 #define DUMMYUNIONNAME 200 #define DUMMYUNIONNAME1 201 #define DUMMYUNIONNAME2 202 #define DUMMYUNIONNAME3 203 #define DUMMYUNIONNAME4 204 #define DUMMYUNIONNAME5 205 #define DUMMYUNIONNAME6 206 #define DUMMYUNIONNAME7 207 #define DUMMYUNIONNAME8 208 #else /* !defined(NONAMELESSUNION) */ 209 #define DUMMYUNIONNAME u 210 #define DUMMYUNIONNAME1 u1 211 #define DUMMYUNIONNAME2 u2 212 #define DUMMYUNIONNAME3 u3 213 #define DUMMYUNIONNAME4 u4 214 #define DUMMYUNIONNAME5 u5 215 #define DUMMYUNIONNAME6 u6 216 #define DUMMYUNIONNAME7 u7 217 #define DUMMYUNIONNAME8 u8 218 #endif /* !defined(NONAMELESSUNION) */ 161 219 162 220
Note:
See TracChangeset
for help on using the changeset viewer.
