summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-19 14:04:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-19 14:04:07 (GMT)
commit349564d2ad254c318eb5f8ac46ef2597621cd4ee (patch)
tree00a19b21090ebca17a99622ec6876237179c0427 /generic/tcl.h
parent0381a0636d9cf0732c403ff31d13a8585fffdbfd (diff)
downloadtcl-349564d2ad254c318eb5f8ac46ef2597621cd4ee.zip
tcl-349564d2ad254c318eb5f8ac46ef2597621cd4ee.tar.gz
tcl-349564d2ad254c318eb5f8ac46ef2597621cd4ee.tar.bz2
Don't #define VOID on VxWorks, as it is already typdef'd to void
Eliminate possibly conflicting LOCAL #define
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 5f47734..466ddcc 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -294,10 +294,12 @@ typedef long LONG;
* non-ANSI systems.
*/
-#ifndef NO_VOID
-# define VOID void
-#else
-# define VOID char
+#ifndef __VXWORKS__
+# ifndef NO_VOID
+# define VOID void
+# else
+# define VOID char
+# endif
#endif
/*