ecpg fix
От | Bruce Momjian |
---|---|
Тема | ecpg fix |
Дата | |
Msg-id | 200306260132.h5Q1WpY28096@candle.pha.pa.us обсуждение исходный текст |
Ответы |
Re: ecpg fix
|
Список | pgsql-patches |
I had to apply the following patch to ecpg would compile on BSD/OS. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 Index: src/interfaces/ecpg/ecpglib/misc.c =================================================================== RCS file: /cvsroot/pgsql-server/src/interfaces/ecpg/ecpglib/misc.c,v retrieving revision 1.6 diff -c -c -r1.6 misc.c *** src/interfaces/ecpg/ecpglib/misc.c 25 Jun 2003 11:51:18 -0000 1.6 --- src/interfaces/ecpg/ecpglib/misc.c 26 Jun 2003 01:30:35 -0000 *************** *** 18,23 **** --- 18,28 ---- #include "pgtypes_timestamp.h" #include "pgtypes_interval.h" + #ifndef LONG_LONG_MIN + #define LONG_LONG_MIN LLONG_MIN + #endif + + static struct sqlca_t sqlca_init = { {
В списке pgsql-patches по дате отправления: