diff options
author | joye <joye> | 2014-01-07 18:41:00 (GMT) |
---|---|---|
committer | joye <joye> | 2014-01-07 18:41:00 (GMT) |
commit | 29e31f380eb1b62490309f010958f3bf7fccd3bf (patch) | |
tree | c6051c6681cd80ff49cc96a4570d3b59236f918b /src/bltSwitch.h | |
parent | d0cbf131b0c7498957051c7d06427a9e1250ada9 (diff) | |
download | blt-29e31f380eb1b62490309f010958f3bf7fccd3bf.zip blt-29e31f380eb1b62490309f010958f3bf7fccd3bf.tar.gz blt-29e31f380eb1b62490309f010958f3bf7fccd3bf.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltSwitch.h')
-rw-r--r-- | src/bltSwitch.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bltSwitch.h b/src/bltSwitch.h index d2d6394..3eb036d 100644 --- a/src/bltSwitch.h +++ b/src/bltSwitch.h @@ -37,14 +37,6 @@ # include <stddef.h> -#ifndef Blt_Offset -#ifdef offsetof -#define Blt_Offset(type, field) ((int) offsetof(type, field)) -#else -#define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field)) -#endif -#endif /* Blt_Offset */ - typedef int (Blt_SwitchParseProc)(ClientData clientData, Tcl_Interp *interp, const char *switchName, Tcl_Obj *valueObjPtr, char *record, int offset, int flags); |