diff options
| author | 2024-01-08 12:17:20 -0600 | |
|---|---|---|
| committer | 2024-01-08 12:17:20 -0600 | |
| commit | d38c13b2fe1293b499312bb4cfd66a56108c4b5e (patch) | |
| tree | 998438c400a6b05f13d145270e95a9236ed7fb87 /src/macros.h | |
| parent | add to-do list (diff) | |
WIP: JRE stuff
Diffstat (limited to 'src/macros.h')
| -rw-r--r-- | src/macros.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index 668816c..684323e 100644 --- a/src/macros.h +++ b/src/macros.h @@ -43,6 +43,7 @@ #define L2_URL_META_BASE "https://piston-meta.mojang.com" #define L2_URL_META_VERSION_MANIFEST L2_URL_META_BASE "/mc/game/version_manifest_v2.json" +#define L2_URL_META_RUNTIME_MANIFEST L2_URL_META_BASE "/v1/products/java-runtime/2ec0cc96c44e5a76b9c8b7c39df7210883d12871/all.json" #define L2_URL_RESOURCES_BASE "https://resources.download.minecraft.net" #ifdef __GNUC__ @@ -54,4 +55,10 @@ #define L2_FORMAT(_unused1, _unused2, _unused3) #endif +#ifdef __cplusplus +#define L2_RESTRICT +#else +#define L2_RESTRICT restrict +#endif + #endif /* include guard */ |
