diff options
Diffstat (limited to 'navit/support/glib/glibconfig.h')
-rw-r--r-- | navit/support/glib/glibconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/support/glib/glibconfig.h b/navit/support/glib/glibconfig.h index 6baa58873..bb3e68cb3 100644 --- a/navit/support/glib/glibconfig.h +++ b/navit/support/glib/glibconfig.h @@ -69,7 +69,7 @@ typedef unsigned __int64 guint64; #define G_GINT64_FORMAT "I64i" #define G_GUINT64_FORMAT "I64u" -#if defined(_WIN64) || defined(_M_X64) || defined(_M_AMD64) +#if defined(_WIN64) || defined(_M_X64) || defined(_M_AMD64) || defined(__LP64__) #define GLIB_SIZEOF_VOID_P 8 #define GLIB_SIZEOF_LONG 4 @@ -107,7 +107,7 @@ typedef gint64 goffset; #define G_MINOFFSET G_MININT64 #define G_MAXOFFSET G_MAXINT64 -#ifndef _WIN64 +#if !defined(_WIN64) && !defined(__LP64__) #define GPOINTER_TO_INT(p) ((gint) (p)) #define GPOINTER_TO_UINT(p) ((guint) (p)) |