blob: f6100f657fcbcf933a34ebf3f95d11b8c13b7531 [file] [log] [blame]
From 4399dabdd55fdf9da08c3604c5b3545391c1d44f Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Thu, 16 May 2013 12:24:44 +0300
Subject: [PATCH 2/2] H/inttype.h: make uint_32 be a 32-bit int on x86_64-gcc
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
H/inttype.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/H/inttype.h b/H/inttype.h
index 7316cbc..af2ef17 100644
--- a/H/inttype.h
+++ b/H/inttype.h
@@ -31,6 +31,10 @@
#ifndef _INTTYPE_H_INCLUDED_
#define _INTTYPE_H_INCLUDED_
+/* some autoconfiguration */
+#if defined(__LP64__)
+# define LONG_IS_64BITS 1
+#endif /* __LP64__ */
typedef unsigned uint;
--
1.8.2.1