Various fixes

* VxWorks 5.5.2 doesn't like C++-style variable declarations in C code
* Older MS compiler doesn't have strto[u]ll
* Wrote release note entry for iocshLoad command.
This commit is contained in:
Andrew Johnson
2014-10-07 00:41:39 -05:00
parent 0a9c5d456b
commit bd120c774d
3 changed files with 23 additions and 2 deletions

View File

@@ -121,13 +121,14 @@ static void check(const char *str, const char *macros, const char *expect)
MAC_HANDLE *handle;
char **defines;
static const char *pairs[] = { "", "environ", NULL, NULL };
char *got;
int pass = 1;
macCreateHandle(&handle, pairs);
macParseDefns(NULL, macros, &defines);
macInstallMacros(handle, defines);
char *got = macDefExpand(str, handle);
int pass = -1;
got = macDefExpand(str, handle);
if (expect && !got) {
testDiag("Got NULL, expected \"%s\".\n", expect);