projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10a8b7c
)
Reorder.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 16 Sep 2004 00:53:27 +0000
(
00:53
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 16 Sep 2004 00:53:27 +0000
(
00:53
+0000)
#include <stdint.h>
src/lib/inttypes.h
patch
|
blob
|
history
diff --git
a/src/lib/inttypes.h
b/src/lib/inttypes.h
index 08ee8fe0ffc6b0e054871063e813a7740214ee42..f7037255c8d5249b35cd72a47747b12f0789a532 100644
(file)
--- a/
src/lib/inttypes.h
+++ b/
src/lib/inttypes.h
@@
-1,48
+1,48
@@
#ifndef __LIB_INTTYPES_H
#define __LIB_INTTYPES_H
#ifndef __LIB_INTTYPES_H
#define __LIB_INTTYPES_H
-#define PRId8 "hhd"
-#define PRId16 "hd"
-#define PRId32 "d"
-#define PRId64 "lld"
+#include <stdint.h>
+#define PRId8 "hhd"
#define PRIi8 "hhi"
#define PRIi8 "hhi"
-#define PRIi16 "hi"
-#define PRIi32 "i"
-#define PRIi64 "lli"
-
#define PRIo8 "hho"
#define PRIo8 "hho"
-#define PRIo16 "ho"
-#define PRIo32 "o"
-#define PRIo64 "llo"
-
#define PRIu8 "hhu"
#define PRIu8 "hhu"
-#define PRIu16 "hu"
-#define PRIu32 "u"
-#define PRIu64 "llu"
-
#define PRIx8 "hhx"
#define PRIx8 "hhx"
-#define PRIx16 "hx"
-#define PRIx32 "x"
-#define PRIx64 "llx"
-
#define PRIX8 "hhX"
#define PRIX8 "hhX"
+
+#define PRId16 "hd"
+#define PRIi16 "hi"
+#define PRIo16 "ho"
+#define PRIu16 "hu"
+#define PRIx16 "hx"
#define PRIX16 "hX"
#define PRIX16 "hX"
+
+#define PRId32 "d"
+#define PRIi32 "i"
+#define PRIo32 "o"
+#define PRIu32 "u"
+#define PRIx32 "x"
#define PRIX32 "X"
#define PRIX32 "X"
+
+#define PRId64 "lld"
+#define PRIi64 "lli"
+#define PRIo64 "llo"
+#define PRIu64 "llu"
+#define PRIx64 "llx"
#define PRIX64 "llX"
#define PRIX64 "llX"
-#define PRIdMAX "
ll
d"
-#define PRIiMAX "
ll
i"
-#define PRIoMAX "
ll
o"
-#define PRIuMAX "
ll
u"
-#define PRIxMAX "
ll
x"
-#define PRIXMAX "
ll
X"
-
-#define PRIdPTR "d"
-#define PRIiPTR "i"
-#define PRIoPTR "o"
-#define PRIuPTR "u"
-#define PRIxPTR "x"
-#define PRIXPTR "X"
+#define PRIdMAX "
j
d"
+#define PRIiMAX "
j
i"
+#define PRIoMAX "
j
o"
+#define PRIuMAX "
j
u"
+#define PRIxMAX "
j
x"
+#define PRIXMAX "
j
X"
+
+#define PRIdPTR "
t
d"
+#define PRIiPTR "
t
i"
+#define PRIoPTR "
t
o"
+#define PRIuPTR "
t
u"
+#define PRIxPTR "
t
x"
+#define PRIXPTR "
t
X"
#endif /* lib/inttypes.h */
#endif /* lib/inttypes.h */