Stop perl from hijacking stdio and other stuff on Windows.

REL8_1_STABLE
Andrew Dunstan 20 years ago
parent e1926aa91e
commit ed47146f1e
  1. 6
      src/pl/plperl/SPI.xs
  2. 8
      src/pl/plperl/plperl.c
  3. 6
      src/pl/plperl/spi_internal.c

@ -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…
Cancel
Save