summaryrefslogtreecommitdiffstats
path: root/4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-13 17:57:37 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-13 17:57:37 +0100
commitdfe08b8c15d2a8887e97718492512d7dec65d7fc (patch)
tree9d742ded4873c3ccdf46d96666364b133e5c4c9a /4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch
parent170d8261e97fcf7c6e1ae82cd872ba71468d5a68 (diff)
cassandra-cpp-driver: EL-6 patch
Diffstat (limited to '4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch')
-rw-r--r--4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch b/4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch
new file mode 100644
index 0000000..2285803
--- /dev/null
+++ b/4d4453b555ec50701d9f50e8d97e5ef9720a4bfe.patch
@@ -0,0 +1,27 @@
+From 4d4453b555ec50701d9f50e8d97e5ef9720a4bfe Mon Sep 17 00:00:00 2001
+From: mpenick <michael.penick@datastax.com>
+Date: Fri, 10 Mar 2017 11:50:09 -0700
+Subject: [PATCH] Fixed cass_int64_t <--> int64_t compatability on GCC
+
+---
+ include/cassandra.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/include/cassandra.h b/include/cassandra.h
+index d77cb47..02d4ed1 100644
+--- a/include/cassandra.h
++++ b/include/cassandra.h
+@@ -104,8 +104,13 @@ typedef __UINT64_TYPE__ cass_uint64_t;
+ typedef __INT64_TYPE__ cass_int64_t;
+ typedef unsigned __INT64_TYPE__ cass_uint64_t;
+ #elif defined(__GNUC__)
++# if defined(__x86_64__)
++typedef long int cass_int64_t;
++typedef unsigned long int cass_uint64_t;
++# else
+ typedef long long int cass_int64_t;
+ typedef unsigned long long int cass_uint64_t;
++# endif
+ #else
+ typedef long long cass_int64_t;
+ typedef unsigned long long cass_uint64_t;