mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 00:02:16 -04:00
Stop perl from hijacking stdio and other stuff on Windows.
This commit is contained in:
parent
e1926aa91e
commit
ed47146f1e
@ -4,6 +4,12 @@
|
|||||||
#undef _
|
#undef _
|
||||||
|
|
||||||
/* 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.94.2.1 2005/11/22 18:23:30 momjian Exp $
|
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.94.2.2 2006/01/08 15:50:00 adunstan Exp $
|
||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
@ -57,6 +57,12 @@
|
|||||||
#include "mb/pg_wchar.h"
|
#include "mb/pg_wchar.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"
|
||||||
|
@ -8,6 +8,12 @@
|
|||||||
/* Defined by Perl */
|
/* Defined by Perl */
|
||||||
#undef _
|
#undef _
|
||||||
|
|
||||||
|
|
||||||
|
/* stop perl from hijacking stdio and other stuff */
|
||||||
|
#ifdef WIN32
|
||||||
|
#define WIN32IO_IS_STDIO
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "spi_internal.h"
|
#include "spi_internal.h"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user