We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04796f commit 7941654Copy full SHA for 7941654
source/backend/window/CppAPI.hx
@@ -4,7 +4,7 @@ import backend.window.*;
4
5
class CppAPI
6
{
7
- #if (cpp && (!linux || !mac))
+ #if windows
8
public static function obtainRAM():Int
9
10
return WindowsData.obtainRAM();
source/backend/window/os/Linux.hx
@@ -1,4 +1,4 @@
1
-package backend.os;
+package backend.window.os;
2
3
#if linux
@:cppFileCode("#include <stdio.h>")
source/backend/window/os/Mac.hx
#if mac
@:cppFileCode("#include <sys/sysctl.h>")
0 commit comments