chiark / gitweb /
Initial checkin of a Mac OS X port of puzzles, using Cocoa. All
[sgt-puzzles.git] / puzzles.h
index 4de81a78d9a919813abbb10c0894b69c4d4ae3bc..d0882e3dc720b8e65e1b11b0f862b52375082dc8 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -199,6 +199,14 @@ struct game {
     int (*wants_statusbar)(void);
 };
 
+/*
+ * Here we include the knowledge of which platforms are of which
+ * type.
+ */
+#ifdef MAC_OS_X   /* this must be defined in the OS X Makefile */
+#define COMBINED
+#endif
+
 /*
  * For one-game-at-a-time platforms, there's a single structure
  * like the above, under a fixed name. For all-at-once platforms,