Move -DPLPERL_HAVE_UID_GID to the plperl Makefile, for Win32 only.
This commit is contained in:
parent
6a640d1e02
commit
59bf879f12
@ -1,5 +1,5 @@
|
|||||||
# Makefile for PL/Perl
|
# Makefile for PL/Perl
|
||||||
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.15 2004/07/16 19:18:24 momjian Exp $
|
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.16 2004/10/07 19:01:09 momjian Exp $
|
||||||
|
|
||||||
subdir = src/pl/plperl
|
subdir = src/pl/plperl
|
||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
@ -25,6 +25,7 @@ ifeq ($(PORTNAME), win32)
|
|||||||
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
|
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
|
||||||
perl_privlibexp := $(subst \,/,$(perl_privlibexp))
|
perl_privlibexp := $(subst \,/,$(perl_privlibexp))
|
||||||
perl_embed_ldflags := -L $(perl_archlibexp)/CORE -lperl58
|
perl_embed_ldflags := -L $(perl_archlibexp)/CORE -lperl58
|
||||||
|
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE
|
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
/* this must be first: */
|
/* this must be first: */
|
||||||
#define PLPERL_HAVE_UID_GID
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
/* perl stuff */
|
/* perl stuff */
|
||||||
|
@ -33,11 +33,10 @@
|
|||||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.53 2004/10/07 15:21:57 momjian Exp $
|
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.54 2004/10/07 19:01:09 momjian Exp $
|
||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#define PLPERL_HAVE_UID_GID
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
/* system stuff */
|
/* system stuff */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user