trying to get fork based snapshotting to work
[model-checker.git] / config.h
index 31ae7a416000a4abfc069034bcb611625ff95a28..62bc92b5a170e49693b47acaf62531d534133b1a 100644 (file)
--- a/config.h
+++ b/config.h
@@ -4,8 +4,17 @@
 
 #ifndef CONFIG_H
 #define CONFIG_H
-/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses */
+
+/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses.
+ * Set to 1 for 48-bit, 0 for 32-bit. */
+#ifndef BIT48
+
+#ifdef _LP64
 #define BIT48 1
+#else
+#define BIT48 0
+#endif
 
+#endif /* BIT48 */
 
 #endif