Skip to content

Commit

Permalink
Merge pull request #252 from openziti/build-ubuntu-18.04
Browse files Browse the repository at this point in the history
Build ubuntu 18.04
  • Loading branch information
ekoby authored Mar 12, 2021
2 parents 6da00d4 + f7be5b6 commit 8a7baed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-18.04
- macOS-latest
- windows-latest

Expand Down
6 changes: 4 additions & 2 deletions includes/ziti/model_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,16 @@ static int Enum##_json(const ptr(Enum) e, int indent, char *json, size_t max, si
return json_enum(e, json, max, len, &Enum##s); \
}\
static type_meta Enum##_meta = {\
.size = sizeof(int), \
.name = #Enum, \
.size = sizeof(Enum), \
.field_count = 0, \
.fields = NULL, \
.comparer = (_cmp_f) cmp_##Enum, \
.parser = (_parse_f) parse_##Enum, \
.jsonifier = (_to_json_f) Enum##_json, \
}; \
type_meta* get_##Enum##_meta() { return &Enum##_meta; }\


#if __cplusplus
}
#endif
Expand Down

0 comments on commit 8a7baed

Please sign in to comment.