diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-31 09:30:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-31 09:30:22 (GMT) |
commit | 0ad4cbd7bd60324dc875c7d8f472096589c2b024 (patch) | |
tree | 3ab0f8a9d922f9c36c5579ff2ee94478091498c8 /win/tkWinPort.h | |
parent | a2b7afd83359a8b5149462e93b174ca5784d1e1a (diff) | |
download | tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.zip tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.tar.gz tk-0ad4cbd7bd60324dc875c7d8f472096589c2b024.tar.bz2 |
Implement XFlush and various others for win32 as stubs, so win32 extensions using those can run under CYGWIN as well.
Allow tk86.dll to cooperate with the cygwin console.
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r-- | win/tkWinPort.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h index 75c7d22..fe31609 100644 --- a/win/tkWinPort.h +++ b/win/tkWinPort.h @@ -98,27 +98,6 @@ #endif /* _MSC_VER */ /* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree(data);} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* * The following Tk functions are implemented as macros under Windows. */ |