mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Added patch by Christof Petig <christof@petig-baender.de> to work around gcc bug on powerpc and amd64.
This commit is contained in:
@ -125,7 +125,12 @@ 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__))
|
||||
// work around a gcc/ABI bug with va_lists on ppc+amd64
|
||||
void ECPGget_variable(va_list, enum ECPGttype, struct variable *, bool);
|
||||
#else
|
||||
void ECPGget_variable(va_list *, enum ECPGttype, struct variable *, bool);
|
||||
#endif
|
||||
|
||||
/* SQLSTATE values generated or processed by ecpglib (intentionally
|
||||
* not exported -- users should refer to the codes directly) */
|
||||
|
Reference in New Issue
Block a user