Skip to content

Commit 59bf879

Browse files
committed
Move -DPLPERL_HAVE_UID_GID to the plperl Makefile, for Win32 only.
1 parent 6a640d1 commit 59bf879

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/pl/plperl/GNUmakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for PL/Perl
2-
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.15 2004/07/16 19:18:24 momjian Exp $
2+
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.16 2004/10/07 19:01:09 momjian Exp $
33

44
subdir = src/pl/plperl
55
top_builddir = ../../..
@@ -25,6 +25,7 @@ ifeq ($(PORTNAME), win32)
2525
perl_archlibexp := $(subst \,/,$(perl_archlibexp))
2626
perl_privlibexp := $(subst \,/,$(perl_privlibexp))
2727
perl_embed_ldflags := -L $(perl_archlibexp)/CORE -lperl58
28+
override CPPFLAGS += -DPLPERL_HAVE_UID_GID
2829
endif
2930

3031
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE

src/pl/plperl/SPI.xs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* this must be first: */
2-
#define PLPERL_HAVE_UID_GID
32
#include "postgres.h"
43

54
/* perl stuff */

src/pl/plperl/plperl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.53 2004/10/07 15:21:57 momjian Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.54 2004/10/07 19:01:09 momjian Exp $
3737
*
3838
**********************************************************************/
3939

40-
#define PLPERL_HAVE_UID_GID
4140
#include "postgres.h"
4241

4342
/* system stuff */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy