]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/include/asm/types.h
Provide option to avoid defining a custom version of uintptr_t.
[karo-tx-uboot.git] / arch / sandbox / include / asm / types.h
index 6d3eb1f3de23e5a7fbc26abd34d42e4f958db567..42c09e2fff25c9bd0b68f274548f67a73bf416ee 100644 (file)
@@ -42,8 +42,13 @@ typedef unsigned short u16;
 typedef signed int s32;
 typedef unsigned int u32;
 
+#if !defined(CONFIG_USE_STDINT) || !defined(__INT64_TYPE__)
 typedef signed long long s64;
 typedef unsigned long long u64;
+#else
+typedef __INT64_TYPE__ s64;
+typedef __UINT64_TYPE__ u64;
+#endif
 
 #define BITS_PER_LONG  CONFIG_SANDBOX_BITS_PER_LONG