]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
authorMichael Meskes <meskes@postgresql.org>
Thu, 2 Jun 2005 12:49:26 +0000 (12:49 +0000)
committerMichael Meskes <meskes@postgresql.org>
Thu, 2 Jun 2005 12:49:26 +0000 (12:49 +0000)
[One half already was committed with the last commit.]

src/interfaces/ecpg/ecpglib/extern.h

index 846e205d281b8ee5c585c07703f096355d1810a5..ef4461bc1845a7da989d1406273b547e5bc39079 100644 (file)
@@ -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