mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Stop perl from hijacking stdio and other stuff on Windows.
This commit is contained in:
@@ -2,6 +2,12 @@
|
|||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
/* perl stuff */
|
/* perl stuff */
|
||||||
|
|
||||||
|
/* stop perl from hijacking stdio and other stuff */
|
||||||
|
#ifdef WIN32
|
||||||
|
#define WIN32IO_IS_STDIO
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "EXTERN.h"
|
#include "EXTERN.h"
|
||||||
#include "perl.h"
|
#include "perl.h"
|
||||||
#include "XSUB.h"
|
#include "XSUB.h"
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.67.4.3 2005/08/20 19:19:31 tgl Exp $
|
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.67.4.4 2006/01/08 15:51:18 adunstan Exp $
|
||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
@@ -52,6 +52,12 @@
|
|||||||
#include "utils/typcache.h"
|
#include "utils/typcache.h"
|
||||||
|
|
||||||
/* perl stuff */
|
/* perl stuff */
|
||||||
|
|
||||||
|
/* stop perl from hijacking stdio and other stuff */
|
||||||
|
#ifdef WIN32
|
||||||
|
#define WIN32IO_IS_STDIO
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "EXTERN.h"
|
#include "EXTERN.h"
|
||||||
#include "perl.h"
|
#include "perl.h"
|
||||||
#include "XSUB.h"
|
#include "XSUB.h"
|
||||||
|
@@ -6,6 +6,12 @@
|
|||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
|
||||||
|
/* stop perl from hijacking stdio and other stuff */
|
||||||
|
#ifdef WIN32
|
||||||
|
#define WIN32IO_IS_STDIO
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "spi_internal.h"
|
#include "spi_internal.h"
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user