summaryrefslogtreecommitdiffstats
path: root/generic/tkPlatDecls.h
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-09-07 00:28:38 (GMT)
committerericm <ericm@noemail.net>2000-09-07 00:28:38 (GMT)
commit2a94c58c728c67ab0ec6dd11cec303412a57f268 (patch)
tree91c6cac39950aa1f64d9c29ffd03feecbc42da20 /generic/tkPlatDecls.h
parent2d6376f5c830c3fb132b73806d815a16f48f7683 (diff)
downloadtk-2a94c58c728c67ab0ec6dd11cec303412a57f268.zip
tk-2a94c58c728c67ab0ec6dd11cec303412a57f268.tar.gz
tk-2a94c58c728c67ab0ec6dd11cec303412a57f268.tar.bz2
* doc/HWNDToWindow.3:
* doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows. * generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly. FossilOrigin-Name: 0788f3d9cd9ddf0e0112ef9357aa0dab70271faf
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r--generic/tkPlatDecls.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index fe7900f..61ac7b7 100644
--- a/generic/tkPlatDecls.h
+++ b/generic/tkPlatDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPlatDecls.h,v 1.5 2000/09/06 23:39:47 ericm Exp $
+ * RCS: @(#) $Id: tkPlatDecls.h,v 1.6 2000/09/07 00:28:39 ericm Exp $
*/
#ifndef _TKPLATDECLS
@@ -25,12 +25,6 @@
* in the generic/tk.decls script.
*/
-#ifdef __WIN32__
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#undef WIN32_LEAN_AND_MEAN
-#endif /* __WIN32__ */
-
/* !BEGIN!: Do not edit below this line. */
/*