Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6fabec24
Commit
6fabec24
authored
May 22, 2003
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation on Cygwin.
parent
cef0652a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
13 deletions
+12
-13
src/include/port/cygwin.h
src/include/port/cygwin.h
+1
-3
src/include/utils/elog.h
src/include/utils/elog.h
+2
-2
src/interfaces/ecpg/Makefile
src/interfaces/ecpg/Makefile
+2
-2
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/compatlib/Makefile
+2
-1
src/interfaces/ecpg/compatlib/informix.c
src/interfaces/ecpg/compatlib/informix.c
+1
-1
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
+2
-2
src/makefiles/Makefile.cygwin
src/makefiles/Makefile.cygwin
+2
-2
No files found.
src/include/port/cygwin.h
View file @
6fabec24
/* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.2 2003/04/18 01:03:42 momjian Exp $ */
#include <port/win32defs.h>
/* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.3 2003/05/22 17:20:28 petere Exp $ */
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
...
...
src/include/utils/elog.h
View file @
6fabec24
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: elog.h,v 1.4
2 2003/05/15 16:35:29 momjian
Exp $
* $Id: elog.h,v 1.4
3 2003/05/22 17:20:43 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -264,7 +264,7 @@ typedef struct ErrorContextCallback
void
*
arg
;
}
ErrorContextCallback
;
extern
ErrorContextCallback
*
error_context_stack
;
extern
DLLIMPORT
ErrorContextCallback
*
error_context_stack
;
/* GUC-configurable parameters */
...
...
src/interfaces/ecpg/Makefile
View file @
6fabec24
...
...
@@ -4,15 +4,15 @@ include $(top_builddir)/src/Makefile.global
all install installdirs uninstall dep depend distprep
:
$(MAKE)
-C
include
$@
$(MAKE)
-C
ecpglib
$@
$(MAKE)
-C
pgtypeslib
$@
$(MAKE)
-C
ecpglib
$@
$(MAKE)
-C
compatlib
$@
$(MAKE)
-C
preproc
$@
clean distclean maintainer-clean
:
-
$(MAKE)
-C
include
$@
-
$(MAKE)
-C
ecpglib
$@
-
$(MAKE)
-C
pgtypeslib
$@
-
$(MAKE)
-C
ecpglib
$@
-
$(MAKE)
-C
compatlib
$@
-
$(MAKE)
-C
preproc
$@
-
$(MAKE)
-C
test
clean
src/interfaces/ecpg/compatlib/Makefile
View file @
6fabec24
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.
3 2003/04/16 05:23:55 tgl
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.
4 2003/05/22 17:20:44 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,6 +17,7 @@ SO_MAJOR_VERSION= 1
SO_MINOR_VERSION
=
0.0
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
SHLIB_LINK
=
-L
../pgtypeslib
-lpgtypes
OBJS
=
informix.o
...
...
src/interfaces/ecpg/compatlib/informix.c
View file @
6fabec24
...
...
@@ -55,7 +55,7 @@ deccopy(Numeric *src, Numeric *target)
}
static
char
*
strndup
(
c
har
*
str
,
in
t
len
)
strndup
(
c
onst
char
*
str
,
size_
t
len
)
{
int
real_len
=
strlen
(
str
);
int
use_len
=
(
real_len
>
len
)
?
len
:
real_len
;
...
...
src/interfaces/ecpg/ecpglib/Makefile
View file @
6fabec24
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.
2 2003/04/08 17:09:01 tgl
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.
3 2003/05/22 17:20:44 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -21,7 +21,7 @@ override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdi
OBJS
=
execute.o typename.o descriptor.o data.o error.o prepare.o memory.o
\
connect.o misc.o
SHLIB_LINK
=
$(libpq)
SHLIB_LINK
=
-L
../pgtypeslib
-lpgtypes
$(libpq)
all
:
all-lib
...
...
src/makefiles/Makefile.cygwin
View file @
6fabec24
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.cygwin,v 1.
1 2003/03/21 17:18:3
4 petere Exp $
# $Header: /cvsroot/pgsql/src/makefiles/Makefile.cygwin,v 1.
2 2003/05/22 17:20:4
4 petere Exp $
DLLTOOL
=
dlltool
DLLWRAP
=
dllwrap
BE_DLLLIBS
=
-L
$(top_builddir)
/src/backend
-lpostgres
...
...
@@ -23,7 +23,7 @@ override CPPFLAGS+= -DBUILDING_DLL
endif
endif
ifneq
(,$(findstring ecpg/lib,$(subdir)))
ifneq
(,$(findstring ecpg/
ecpg
lib,$(subdir)))
override
CPPFLAGS
+=
-DBUILDING_DLL
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment