1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Rationalise perl header inclusions via a common include file, which also

declares routines in plperl.c and spi_internal.c used in other files.

Along the way, also stop perl from hijacking stdio and other stuff on Windows.
This commit is contained in:
Andrew Dunstan
2006-01-08 22:27:52 +00:00
parent 2645cb54cb
commit 9bb76d0b3f
5 changed files with 54 additions and 43 deletions

View File

@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.98 2005/12/29 14:28:31 adunstan Exp $
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.99 2006/01/08 22:27:52 adunstan Exp $
*
**********************************************************************/
@ -60,18 +60,7 @@
extern DLLIMPORT bool check_function_bodies;
/* perl stuff */
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
#include "spi_internal.h"
/* just in case these symbols aren't provided */
#ifndef pTHX_
#define pTHX_
#define pTHX void
#endif
#include "plperl.h"
/**********************************************************************
* The information we cache about loaded procedures