aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h7
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 */