aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2005-06-02 12:49:26 +0000
committerMichael Meskes <meskes@postgresql.org>2005-06-02 12:49:26 +0000
commit53b4a1ce4bd2e836ba6fd6cf13a753cb99f14a66 (patch)
treedb26df2ec52ab798eb41e256280da5bf1dc6c427
parentd014a2162496950f507406af8e7cd1ca7937bd74 (diff)
downloadpostgresql-53b4a1ce4bd2e836ba6fd6cf13a753cb99f14a66.tar.gz
postgresql-53b4a1ce4bd2e836ba6fd6cf13a753cb99f14a66.zip
Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
[One half already was committed with the last commit.]
-rw-r--r--src/interfaces/ecpg/ecpglib/extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h
index 846e205d281..ef4461bc184 100644
--- a/src/interfaces/ecpg/ecpglib/extern.h
+++ b/src/interfaces/ecpg/ecpglib/extern.h
@@ -125,7 +125,7 @@ PGresult **ECPGdescriptor_lvalue(int line, const char *descriptor);
bool ECPGstore_result(const PGresult *results, int act_field,
const struct statement * stmt, struct variable * var);
bool ECPGstore_input(const int, const bool, const struct variable *, const char **, bool *);
-#if defined(__GNUC__) && (defined (__powerpc__) || defined(__AMD64__))
+#if defined(__GNUC__) && (defined (__powerpc__) || defined(__AMD64__) || defined(__x86_64__))
// work around a gcc/ABI bug with va_lists on ppc+amd64
void ECPGget_variable(va_list, enum ECPGttype, struct variable *, bool);
#else