Changeset 10883
- Timestamp:
- Sep 26, 2008, 1:53:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/macros.h
r10718 r10883 97 97 #define LSEEK(fd,offset,how) lseek(fd,offset,how) 98 98 #endif 99 100 /* We can't easily and unconditionally use format strings like "0x%lx" 101 to print lisp objects: the "l" might not match the word size, and 102 neither would (necessarily) something like "0x%llx". We can at 103 least exploit the fact that on all current platforms, "ll" ("long long") 104 is the size of a 64-bit lisp object and "l" ("long") is the size of 105 a 32-bit lisp object. */ 106 107 #if (WORD_SIZE == 64) 108 #define LISP "%llx" 109 #define ZLISP "%016llx" 110 #define DECIMAL "%lld" 111 #else 112 #define LISP "%lx" 113 #define ZLISP "%08x" 114 #define DECIMAL "%ld" 115 #endif
Note: See TracChangeset
for help on using the changeset viewer.