diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-05-19 14:04:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-05-19 14:04:07 (GMT) |
commit | 349564d2ad254c318eb5f8ac46ef2597621cd4ee (patch) | |
tree | 00a19b21090ebca17a99622ec6876237179c0427 /generic/tcl.h | |
parent | 0381a0636d9cf0732c403ff31d13a8585fffdbfd (diff) | |
download | tcl-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.h | 10 |
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 /* |