macOS support

This commit is contained in:
Mārtiņš Možeiko
2021-11-14 17:24:46 -08:00
parent b07e706dfb
commit 08bfd28169
3 changed files with 12 additions and 5 deletions
+3
View File
@@ -11,9 +11,12 @@ int main(void)
printf("%d\n", MD_CPP_VERSION);
#if MD_CPP_VERSION != 0 && MD_CPP_VERSION != 98 // anything C++11 and up
MD_String8 foo = "foo"_md;
MD_String8 bar = "bar"_md;
MD_String8 str = MD_S8Fmt(arena, "%S%S", foo, bar);
printf("%.*s", MD_S8VArg(str));
#endif
return 0;
}