Unnamed Fossil Project

Check-in [1a1aa7fa72]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix conflict between stdarg.h (from tcl.h) and varargs.h (from mpexpr.h) with Visual C++ 6. Arose because Microsoft compilers do not define __STDC__ by default.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1a1aa7fa72ef752d63603855408e2d0ee7bf1db4
User & Date: ashok 2017-09-18 09:36:07
Context
2017-12-23
09:51
Merge vc-reform - new nmake build system Leaf check-in: d1dffcb805 user: apnadkarni tags: trunk, magicsplat-1.8.0
2017-10-18
17:02
New nmake build system check-in: 1b12db29ca user: ashok tags: vc-reform
16:35
Create new branch named "vc-reform" Closed-Leaf check-in: 872d2f178d user: ashok tags: vc-reform
2017-09-18
09:36
Fix conflict between stdarg.h (from tcl.h) and varargs.h (from mpexpr.h) with Visual C++ 6. Arose because Microsoft compilers do not define __STDC__ by default. check-in: 1a1aa7fa72 user: ashok tags: trunk
07:44
Update to nmakehlp.c from Tcl with enhanced linker opts testing check-in: 5726f0204c user: ashok tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/zmath.h.

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <stdlib.h>
#endif
#ifdef NO_STRING_H
#include "../compat/string.h"
#else
#include <string.h>
#endif
#if defined(__STDC__) || defined(HAS_STDARG)
#include <stdarg.h>
#else
#include <varargs.h>
#endif


#ifndef BYTE_ORDER






|







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <stdlib.h>
#endif
#ifdef NO_STRING_H
#include "../compat/string.h"
#else
#include <string.h>
#endif
#if defined(_MSC_VER) || defined(__STDC__) || defined(HAS_STDARG)
#include <stdarg.h>
#else
#include <varargs.h>
#endif


#ifndef BYTE_ORDER