projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
config: automatically determine BIT48
[model-checker.git]
/
config.h
diff --git
a/config.h
b/config.h
index ed305311a2b9e2306f46e88743f0cf6cd8da1f24..62bc92b5a170e49693b47acaf62531d534133b1a 100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-7,6
+7,14
@@
/** 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