summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorericm <ericm>2000-09-06 23:39:46 (GMT)
committerericm <ericm>2000-09-06 23:39:46 (GMT)
commit05774ae3da39bac3fdbc4b969759a3ca4e957344 (patch)
treede3e6045dc21ed9f81244db244bfc963f60feb11 /generic
parent1283ba2e1a5a0fab4791ca1a1b74a6678624e2e6 (diff)
downloadtk-05774ae3da39bac3fdbc4b969759a3ca4e957344.zip
tk-05774ae3da39bac3fdbc4b969759a3ca4e957344.tar.gz
tk-05774ae3da39bac3fdbc4b969759a3ca4e957344.tar.bz2
* generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
so that HWND, etc., are defined properly.
Diffstat (limited to 'generic')
-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. */