summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-07-07 08:05:35 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-07-07 08:05:35 +0000
commit33e87222df8d0ea8700563ee6f9b2ff25af11d62 (patch)
tree2ce55dfd599d2b56e353177295933355fa09e9dd
parentc7d33c0a8e4b3bc2490d4c542ad3df2918f17d47 (diff)
Better 64-bit detection
-rw-r--r--src/htsglobal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/htsglobal.h b/src/htsglobal.h
index 32a5a3e..e3a006e 100644
--- a/src/htsglobal.h
+++ b/src/htsglobal.h
@@ -323,7 +323,8 @@ typedef __int64 LLint;
typedef __int64 TStamp;
#define LLintP "%I64d"
-#elif (defined(__x86_64__) || defined(_LP64) || defined(__64BIT__))
+#elif (defined(_LP64) || defined(__x86_64__) \
+ || defined(__powerpc64__) || defined(__64BIT__))
typedef unsigned long int LLint;
typedef unsigned long int TStamp;