mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 00:03:56 -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 _
|
||||
|
||||
/* perl stuff */
|
||||
|
||||
/* stop perl from hijacking stdio and other stuff */
|
||||
#ifdef WIN32
|
||||
#define WIN32IO_IS_STDIO
|
||||
#endif
|
||||
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||
*
|
||||
* 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"
|
||||
|
||||
/* perl stuff */
|
||||
|
||||
/* stop perl from hijacking stdio and other stuff */
|
||||
#ifdef WIN32
|
||||
#define WIN32IO_IS_STDIO
|
||||
#endif
|
||||
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
@ -8,6 +8,12 @@
|
||||
/* Defined by Perl */
|
||||
#undef _
|
||||
|
||||
|
||||
/* stop perl from hijacking stdio and other stuff */
|
||||
#ifdef WIN32
|
||||
#define WIN32IO_IS_STDIO
|
||||
#endif
|
||||
|
||||
#include "spi_internal.h"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user