summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-15 09:02:55 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-15 09:02:55 +0200
commit9f83160b092bb86e1a0edd8b67144b1195f3d6e0 (patch)
treef47f1109c6d562ee50c3ea297b70669bb5f0ed3b /src/lib/cross.h
parent45923ef4c7bbd0454c58887770c437e1f2232e31 (diff)
Fix macOS compile error and try to make display sleep work there.
Diffstat (limited to 'src/lib/cross.h')
-rw-r--r--src/lib/cross.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h
index c304b6dfb..8b1ffccca 100644
--- a/src/lib/cross.h
+++ b/src/lib/cross.h
@@ -93,7 +93,9 @@ public:
private:
boost::mutex _mutex;
+#ifdef DCPOMATIC_WINDOWS
Reason _reason;
+#endif
#ifdef DCPOMATIC_OSX
IOPMAssertionID _assertion_id;
#endif