summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-06 23:16:20 (GMT)
committernijtmans <nijtmans>2010-01-06 23:16:20 (GMT)
commit202013b4ffd4f5ab925eeed4d3fdcaa4a40c552e (patch)
tree5c6a94fabc0b60a5ba23015151521bba53f96560 /generic
parentdf9501bba1307cd8d762718fdb94dcf66309c717 (diff)
downloadtk-202013b4ffd4f5ab925eeed4d3fdcaa4a40c552e.zip
tk-202013b4ffd4f5ab925eeed4d3fdcaa4a40c552e.tar.gz
tk-202013b4ffd4f5ab925eeed4d3fdcaa4a40c552e.tar.bz2
Trivial CYGWIN fixes (backported from trunk)
Diffstat (limited to 'generic')
-rw-r--r--generic/default.h4
-rw-r--r--generic/tkWindow.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/default.h b/generic/default.h
index 1859369..31f674a 100644
--- a/generic/default.h
+++ b/generic/default.h
@@ -10,14 +10,14 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: default.h,v 1.5 2004/03/17 18:15:42 das Exp $
+ * RCS: @(#) $Id: default.h,v 1.5.4.1 2010/01/06 23:16:20 nijtmans Exp $
*/
#ifndef _DEFAULT
#define _DEFAULT
#if defined(__WIN32__) || defined(_WIN32) || \
- defined(__CYGWIN__) || defined(__MINGW32__)
+ defined(__MINGW32__)
# include "tkWinDefault.h"
#else
# if defined(MAC_OSX_TK)
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 6b03c4f..4e274f7 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.89.2.4 2009/10/15 17:48:50 dgp Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.89.2.5 2010/01/06 23:16:20 nijtmans Exp $
*/
#include "tkInt.h"
@@ -3310,7 +3310,7 @@ Tk_PkgInitStubsCheck(
int count = 0;
while (*p) {
- count += !isdigit(*p++);
+ count += !isdigit(UCHAR(*p++));
}
if (count == 1) {
if (0 != strncmp(version, actualVersion, strlen(version))) {