mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 08:47:35 +00:00
24 lines
800 B
Diff
24 lines
800 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Julian=20Offenh=C3=A4user?= <offenhaeuser@protonmail.com>
|
|
Date: Tue, 7 Feb 2023 21:10:21 +0100
|
|
Subject: [PATCH] Add SerenityOS platform detection
|
|
|
|
We teach OpenRCT2 about the name of our platform.
|
|
---
|
|
src/openrct2/Version.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/openrct2/Version.h b/src/openrct2/Version.h
|
|
index 4495fa0b66b840b88034d2e8e3e023b1a1edfb68..1212b43a3745a46ab4ed6d4316ab4894a1f96ddc 100644
|
|
--- a/src/openrct2/Version.h
|
|
+++ b/src/openrct2/Version.h
|
|
@@ -70,6 +70,9 @@
|
|
#ifdef __EMSCRIPTEN__
|
|
# define OPENRCT2_PLATFORM "Emscripten"
|
|
#endif
|
|
+#ifdef __serenity__
|
|
+# define OPENRCT2_PLATFORM "SerenityOS"
|
|
+#endif
|
|
#ifndef OPENRCT2_PLATFORM
|
|
# error Unknown platform!
|
|
#endif
|