Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59bf879

Browse files
committed
Move -DPLPERL_HAVE_UID_GID to the plperl Makefile, for Win32 only.
1 parent6a640d1 commit59bf879

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+
overrideCPPFLAGS += -DPLPERL_HAVE_UID_GID
2829
endif
2930

3031
overrideCPPFLAGS := -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-
#definePLPERL_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/0715:21:57 momjian Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.54 2004/10/0719:01:09 momjian Exp $
3737
*
3838
**********************************************************************/
3939

40-
#definePLPERL_HAVE_UID_GID
4140
#include"postgres.h"
4241

4342
/* system stuff */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp