diff options
Diffstat (limited to 'generic/tk3d.h')
-rw-r--r-- | generic/tk3d.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/generic/tk3d.h b/generic/tk3d.h index 5e0a0cf..891e927 100644 --- a/generic/tk3d.h +++ b/generic/tk3d.h @@ -12,12 +12,7 @@ #ifndef _TK3D #define _TK3D -#include <tkInt.h> - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif +#include "tkInt.h" /* * One of the following data structures is allocated for each 3-D border @@ -40,9 +35,8 @@ typedef struct TkBorder { * no longer valid and it isn't present in * borderTable: it is being kept around only * because there are objects referring to it. - * The structure is freed when - * resourceRefCount and objRefCount are both - * 0. */ + * The structure is freed when objRefCount and + * resourceRefCount are both 0. */ int objRefCount; /* The number of Tcl objects that reference * this structure. */ XColor *bgColorPtr; /* Background color (intensity between @@ -88,7 +82,4 @@ MODULE_SCOPE TkBorder *TkpGetBorder(void); MODULE_SCOPE void TkpGetShadows(TkBorder *borderPtr, Tk_Window tkwin); MODULE_SCOPE void TkpFreeBorder(TkBorder *borderPtr); -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - #endif /* _TK3D */ |