Usermode/libc - inttypes.h fixed to include stdint.h
authorJohn Hodge <[email protected]>
Mon, 17 Jun 2013 04:04:47 +0000 (12:04 +0800)
committerJohn Hodge <[email protected]>
Mon, 17 Jun 2013 04:04:47 +0000 (12:04 +0800)
Usermode/Libraries/libc.so_src/include_exp/inttypes.h

index df92f77..0200aa6 100644 (file)
@@ -1,13 +1,28 @@
+/*
+ * Acess2 C Library
+ * - By John Hodge (thePowersGang)
+ *
+ * inttypes.h
+ * - Fixed-size integer sizes
+ *
+ * Defined in IEEE Std 1003.1
+ */
+#ifndef _INTTYPES_H_
+#define _INTTYPES_H_
+
+#include <stdint.h>
 
 #define PRId64 "lld"
 #define PRIdLEAST64    "lld"
 #define PRIdFAST64     "lld"
 #define PRIdMAX
 #define PRIdPTR
-#define PRIi64
+#define PRIi64 "lli"
 #define PRIiLEAST64
 #define PRIiFAST64
 #define PRIiMAX
 #define PRIiPTR
 
 #define PRIx64 "llx"
+
+#endif

UCC git Repository :: git.ucc.asn.au