summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-11-12 19:16:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-11-12 19:16:43 (GMT)
commit76bdda652755702f1fe6c33d2cabfbd403ec9bfa (patch)
tree1d91ba65bf4a91e89a0d2d278d92322870e4ef61 /generic/tclInt.h
parenta23ff0d0693f84a3bc78226ddbbb6086112d2c8d (diff)
downloadtcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.zip
tcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.tar.gz
tcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.tar.bz2
* generic/tclInt.h: Moved verification of ptrdiff_t typedef from
* generic/tclExecute.c: multiple .c files into one common header where * generic/tclVar.c: it is verifiably after tclConfig.h inclusion.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index c0bd054..fa128aa 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInt.h,v 1.195 2004/11/12 18:07:49 rmax Exp $
+ * RCS: @(#) $Id: tclInt.h,v 1.196 2004/11/12 19:16:52 dgp Exp $
*/
#ifndef _TCLINT
@@ -54,6 +54,11 @@
#else
#include <string.h>
#endif
+#ifdef STDC_HEADERS
+#include <stddef.h>
+#else
+typedef int ptrdiff_t;
+#endif
/*
* Used to tag functions that are only to be visible within the module