summaryrefslogtreecommitdiffstats
path: root/generic/tkPlatDecls.h
diff options
context:
space:
mode:
authorericm <ericm>2000-09-06 23:39:46 (GMT)
committerericm <ericm>2000-09-06 23:39:46 (GMT)
commit997888226b8856db70024e9202107e61c4b562a7 (patch)
treede3e6045dc21ed9f81244db244bfc963f60feb11 /generic/tkPlatDecls.h
parent417f6b5333c76f82f8e87a83c4ccbebc050c2872 (diff)
downloadtk-997888226b8856db70024e9202107e61c4b562a7.zip
tk-997888226b8856db70024e9202107e61c4b562a7.tar.gz
tk-997888226b8856db70024e9202107e61c4b562a7.tar.bz2
* generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
so that HWND, etc., are defined properly.
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r--generic/tkPlatDecls.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index a074241..fe7900f 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.4 1999/04/30 22:49:55 stanton Exp $
+ * RCS: @(#) $Id: tkPlatDecls.h,v 1.5 2000/09/06 23:39:47 ericm Exp $
*/
#ifndef _TKPLATDECLS
@@ -25,6 +25,11 @@
* 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. */