Author: turnstep
Date: Sat Feb 16 17:19:39 2008
New Revision: 10752

Modified:
   DBD-Pg/trunk/Pg.h

Log:
Cleanups, add PERL_NO_GET_CONTEXT


Modified: DBD-Pg/trunk/Pg.h
==============================================================================
--- DBD-Pg/trunk/Pg.h   (original)
+++ DBD-Pg/trunk/Pg.h   Sat Feb 16 17:19:39 2008
@@ -23,35 +23,28 @@
 
 #include "libpq-fe.h"
 
-#ifdef NEVER
-#include<sys/stat.h>
-#include "libpq/libpq-fs.h"
-#endif
-#ifndef INV_READ
-#define INV_READ 0x00040000
-#endif
-#ifndef INV_WRITE
-#define INV_WRITE 0x00020000
-#endif
-
 #ifdef BUFSIZ
 #undef BUFSIZ
 #endif
 /* this should improve I/O performance for large objects */
 #define BUFSIZ 32768
 
-
 #define NEED_DBIXS_VERSION 93
 
-#include <DBIXS.h>             /* installed by the DBI module  */
+#define PERL_NO_GET_CONTEXT
+
+#include <DBIXS.h>      /* installed by the DBI module */
 
-#include <dbd_xsh.h>           /* installed by the DBI module  */
+#include <dbivport.h>   /* DBI portability macros */
+
+#include <dbd_xsh.h>    /* installed by the DBI module */
 
 #include "dbdimp.h"
 #include "quote.h"
 #include "types.h"
 
 /* defines for Driver.xst to let it know what functions to include */
+
 #define dbd_st_rows dbd_st_rows
 #define dbd_discon_all dbd_discon_all
 #define dbd_st_fetchrow_hashref valid

Reply via email to