From: Gerhard H?r. <gha...@us...> - 2003-06-16 13:49:11
|
Update of /cvsroot/pypgsql/pypgsql/port In directory sc8-pr-cvs1:/tmp/cvs-serv21944/port Modified Files: port.h Log Message: 16JUN2003 gh The Python developers chose to replace LONG_LONG with PY_LONG_LONG under Python 2.3. We'll continue to use LONG_LONG for now. This patch ensures pyPgSQL can still be compiled under Python 2.3. Index: port.h =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/port/port.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** port.h 2 Oct 2002 03:55:24 -0000 1.2 --- port.h 16 Jun 2003 13:49:07 -0000 1.3 *************** *** 30,33 **** --- 30,39 ---- #endif + /* Under Python 2.3, LONG_LONG has been replaced by PY_LONG_LONG. We continue + * using LONG_LONG, even under 2.3 or later */ + #ifdef PY_LONG_LONG + #define LONG_LONG PY_LONG_LONG + #endif + /******************************************************* * Prototypes for the string functions that we include * |