diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-05-19 14:04:07 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2013-05-19 14:04:07 (GMT) |
commit | 15cdac1708200c9c575ef76c5b4455b20f0e0543 (patch) | |
tree | 00a19b21090ebca17a99622ec6876237179c0427 /generic/tcl.h | |
parent | 9b923a64485f6324f1393015b9167330b2749ca6 (diff) | |
download | tcl-15cdac1708200c9c575ef76c5b4455b20f0e0543.zip tcl-15cdac1708200c9c575ef76c5b4455b20f0e0543.tar.gz tcl-15cdac1708200c9c575ef76c5b4455b20f0e0543.tar.bz2 |
Don't #define VOID on VxWorks, as it is already typdef'd to void
Eliminate possibly conflicting LOCAL #define
FossilOrigin-Name: 4bed29cc481a1bc0ff2a2ac72b44d2d96da77166
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 /* |