From 34dbc44a97710ef57660ff4fe77728435ee4a5cb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 25 Jun 2005 00:12:26 +0000 Subject: [PATCH] Fixed bug when compiling on AMD64 with -m32 --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4080 --- sourcemm/oslink.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sourcemm/oslink.h b/sourcemm/oslink.h index aad6c0e..4e5a62c 100644 --- a/sourcemm/oslink.h +++ b/sourcemm/oslink.h @@ -52,11 +52,12 @@ typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #elif defined __GNUC__ -# if !__GLIBC_HAVE_LONG_LONG +#include +#if !__GLIBC_HAVE_LONG_LONG typedef long long int64_t; -# endif typedef unsigned long long uint64_t; #endif +#endif #ifndef __linux__ #define snprintf _snprintf