summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-10-19 02:10:20 (GMT)
committerhobbs <hobbs>2002-10-19 02:10:20 (GMT)
commit8180cd806f160613962363dd2645221b50e868f4 (patch)
treef3b1d1f6a3d96f26aaa76fe095bf6e442bf77913
parent297403f0b38898ac70a21500a8dcd119df2b5a84 (diff)
downloadtk-8180cd806f160613962363dd2645221b50e868f4.zip
tk-8180cd806f160613962363dd2645221b50e868f4.tar.gz
tk-8180cd806f160613962363dd2645221b50e868f4.tar.bz2
* win/tkWinPort.h: define OPEN_MAX only if not defined.
[Patch #625472] (howell)
-rw-r--r--win/tkWinPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h
index 192ed84..4eaec99 100644
--- a/win/tkWinPort.h
+++ b/win/tkWinPort.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinPort.h,v 1.8 2002/09/27 00:48:06 hobbs Exp $
+ * RCS: @(#) $Id: tkWinPort.h,v 1.9 2002/10/19 02:10:20 hobbs Exp $
*/
#ifndef _WINPORT
@@ -59,7 +59,9 @@
#define NBBY 8
+#ifndef OPEN_MAX
#define OPEN_MAX 32
+#endif
/*
* The following define causes Tk to use its internal keysym hash table