diff --git a/BUILD_OPENWATCOM/autotest1.tgt b/BUILD_OPENWATCOM/autotest1.tgt new file mode 100644 index 0000000..b37819b --- /dev/null +++ b/BUILD_OPENWATCOM/autotest1.tgt @@ -0,0 +1,99 @@ +40 +targetIdent +0 +MProject +1 +MComponent +0 +2 +WString +4 +NEXE +3 +WString +5 +nc2en +1 +0 +0 +4 +MCommand +0 +5 +MCommand +0 +6 +MItem +13 +autotest1.exe +7 +WString +4 +NEXE +8 +WVList +0 +9 +WVList +0 +-1 +1 +1 +0 +10 +WPickList +3 +11 +MItem +3 +*.c +12 +WString +4 +COBJ +13 +WVList +0 +14 +WVList +0 +-1 +1 +1 +0 +15 +MItem +14 +..\autotest1.c +16 +WString +4 +COBJ +17 +WVList +0 +18 +WVList +0 +11 +1 +1 +0 +19 +MItem +11 +..\iuliia.c +20 +WString +4 +COBJ +21 +WVList +0 +22 +WVList +0 +11 +1 +1 +0 diff --git a/BUILD_OPENWATCOM/autotest1.wpj b/BUILD_OPENWATCOM/autotest1.wpj new file mode 100644 index 0000000..953e4bf --- /dev/null +++ b/BUILD_OPENWATCOM/autotest1.wpj @@ -0,0 +1,43 @@ +40 +projectIdent +0 +VpeMain +1 +WRect +1024 +2095 +7552 +6656 +2 +MProject +3 +MCommand +0 +4 +MCommand +0 +1 +5 +WFileName +13 +autotest1.tgt +6 +WVList +1 +7 +VComponent +8 +WRect +0 +0 +5690 +4295 +0 +0 +9 +WFileName +13 +autotest1.tgt +0 +0 +7 diff --git a/autotest1.c b/autotest1.c index 7a2b286..9da7979 100644 --- a/autotest1.c +++ b/autotest1.c @@ -44,7 +44,7 @@ const wchar_t *scheme_names[] = { L"../../../forks/iuliia/yandex_money.json" }; -int main(int argc, char **argv) +int main(void) { size_t failed_schemes = 0, passed_tests = 0, missed_tests = 0, i; setlocale(LC_ALL, ""); diff --git a/forks/json.h/json.h b/forks/json.h/json.h index 7fb7a4a..847a50b 100644 --- a/forks/json.h/json.h +++ b/forks/json.h/json.h @@ -50,7 +50,7 @@ #include #include -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__WATCOMC__) #define json_weak __inline #elif defined(__clang__) || defined(__GNUC__) #define json_weak __attribute__((weak))