Skip to content

Commit

Permalink
Add OW project files (not working properly because OW supports only C…
Browse files Browse the repository at this point in the history
… locale)
  • Loading branch information
plzombie committed Nov 27, 2022
1 parent f8d239c commit 396bfa8
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 2 deletions.
99 changes: 99 additions & 0 deletions BUILD_OPENWATCOM/autotest1.tgt
Original file line number Diff line number Diff line change
@@ -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
43 changes: 43 additions & 0 deletions BUILD_OPENWATCOM/autotest1.wpj
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion autotest1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, "");
Expand Down
2 changes: 1 addition & 1 deletion forks/json.h/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include <stddef.h>
#include <string.h>

#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__WATCOMC__)
#define json_weak __inline
#elif defined(__clang__) || defined(__GNUC__)
#define json_weak __attribute__((weak))
Expand Down

0 comments on commit 396bfa8

Please sign in to comment.