Changeset 58307 in webkit for trunk/JavaScriptCore/wtf/StaticConstructors.h
- Timestamp:
- Apr 27, 2010, 6:56:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/StaticConstructors.h
r57904 r58307 52 52 #ifndef SKIP_STATIC_CONSTRUCTORS_ON_GCC 53 53 // Define an global in the normal way. 54 #if COMPILER(MSVC7 )54 #if COMPILER(MSVC7_OR_LOWER) 55 55 #define DEFINE_GLOBAL(type, name) \ 56 56 const type name; … … 66 66 // Define an correctly-sized array of pointers to avoid static initialization. 67 67 // Use an array of pointers instead of an array of char in case there is some alignment issue. 68 #if COMPILER(MSVC7 )68 #if COMPILER(MSVC7_OR_LOWER) 69 69 #define DEFINE_GLOBAL(type, name) \ 70 70 void * name[(sizeof(type) + sizeof(void *) - 1) / sizeof(void *)];
Note:
See TracChangeset
for help on using the changeset viewer.