summaryrefslogtreecommitdiffstats
path: root/src/bltSwitch.h
diff options
context:
space:
mode:
authorjoye <joye>2014-01-07 18:41:00 (GMT)
committerjoye <joye>2014-01-07 18:41:00 (GMT)
commit29e31f380eb1b62490309f010958f3bf7fccd3bf (patch)
treec6051c6681cd80ff49cc96a4570d3b59236f918b /src/bltSwitch.h
parentd0cbf131b0c7498957051c7d06427a9e1250ada9 (diff)
downloadblt-29e31f380eb1b62490309f010958f3bf7fccd3bf.zip
blt-29e31f380eb1b62490309f010958f3bf7fccd3bf.tar.gz
blt-29e31f380eb1b62490309f010958f3bf7fccd3bf.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltSwitch.h')
-rw-r--r--src/bltSwitch.h8
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);