summaryrefslogtreecommitdiff
path: root/hw_windows.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 07:13:29 -0500
committerJeff Carr <[email protected]>2025-10-07 07:13:29 -0500
commitc5c6afea125875e635efb26da039d83d65e7d67f (patch)
tree8fad7393e2c1f545b7c64e98fb0a919e20e6841c /hw_windows.go
parent99f8eb08bdca46925e5a00d4dda4d9625694b86b (diff)
make this build on darwin
Diffstat (limited to 'hw_windows.go')
-rw-r--r--hw_windows.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw_windows.go b/hw_windows.go
new file mode 100644
index 0000000..ab1aef8
--- /dev/null
+++ b/hw_windows.go
@@ -0,0 +1,7 @@
+package zoopb
+
+// simple memory and cpu count
+func (me *Machine) osGetMemory() {
+ me.Memory = int64(1024 * 1024)
+ me.Cpus = int64(1)
+}