Changeset 107581 in webkit for trunk/Source/JavaScriptCore/wtf/Assertions.h
- Timestamp:
- Feb 13, 2012, 9:47:25 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/Assertions.h
r105267 r107581 323 323 /* COMPILE_ASSERT */ 324 324 #ifndef COMPILE_ASSERT 325 #if COMPILER_SUPPORTS(C_STATIC_ASSERT) 326 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name) 327 #else 325 328 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] 329 #endif 326 330 #endif 327 331
Note:
See TracChangeset
for help on using the changeset viewer.