Changeset 1429 for trunk/packages/vizservers/nanovis/Switch.h
- Timestamp:
- May 11, 2009, 4:39:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/Switch.h
r1384 r1429 34 34 # include <stddef.h> 35 35 #endif /* HAVE_STDDEF_H */ 36 37 #ifdef offsetof38 #define SwitchOffset(type, field) ((int) offsetof(type, field))39 #else40 #define SwitchOffset(type, field) ((int) ((char *) &((type *) 0)->field))41 #endif42 36 43 37 namespace Rappture {
Note: See TracChangeset
for help on using the changeset viewer.