mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
35 lines
778 B
Diff
35 lines
778 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tyler Veness <calcmogul@gmail.com>
|
|
Date: Tue, 8 Apr 2025 15:28:38 -0700
|
|
Subject: [PATCH 5/5] Add emscripten shim
|
|
|
|
---
|
|
src/emscripten.cxx | 18 ++++++++++++++++++
|
|
1 file changed, 18 insertions(+)
|
|
create mode 100644 src/emscripten.cxx
|
|
|
|
diff --git a/src/emscripten.cxx b/src/emscripten.cxx
|
|
new file mode 100644
|
|
index 0000000000000000000000000000000000000000..16924894cc0c6085b27b33e6b9f2a6e6d582d116
|
|
--- /dev/null
|
|
+++ b/src/emscripten.cxx
|
|
@@ -0,0 +1,18 @@
|
|
+#if defined(__EMSCRIPTEN__)
|
|
+
|
|
+# include <debugging.hpp>
|
|
+
|
|
+# include <atomic>
|
|
+# include <fstream>
|
|
+# include <string>
|
|
+
|
|
+namespace wpi::util {
|
|
+
|
|
+bool is_debugger_present() noexcept
|
|
+{
|
|
+ return false;
|
|
+}
|
|
+
|
|
+} // namespace wpi::util
|
|
+
|
|
+#endif
|