Skip to content

Commit

Permalink
Merge branch 'main' into fix.posture.double.run.no.mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpmartinez authored Mar 12, 2021
2 parents 2545f0c + 8a7baed commit 52142e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-18.04
- macOS-latest

steps:
Expand Down
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 52142e0

Please sign in to comment.