File tree 7 files changed +12
-13
lines changed
7 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 1
- /* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.2 2003/04/18 01:03:42 momjian Exp $ */
2
-
3
- #include <port/win32defs.h>
1
+ /* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.3 2003/05/22 17:20:28 petere Exp $ */
4
2
5
3
#define HAS_TEST_AND_SET
6
4
typedef unsigned char slock_t ;
Original file line number Diff line number Diff line change 7
7
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: elog.h,v 1.42 2003/05/15 16:35:29 momjian Exp $
10
+ * $Id: elog.h,v 1.43 2003/05/22 17:20:43 petere Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -264,7 +264,7 @@ typedef struct ErrorContextCallback
264
264
void * arg ;
265
265
} ErrorContextCallback ;
266
266
267
- extern ErrorContextCallback * error_context_stack ;
267
+ extern DLLIMPORT ErrorContextCallback * error_context_stack ;
268
268
269
269
270
270
/* GUC-configurable parameters */
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ include $(top_builddir)/src/Makefile.global
4
4
5
5
all install installdirs uninstall dep depend distprep :
6
6
$(MAKE ) -C include $@
7
- $(MAKE ) -C ecpglib $@
8
7
$(MAKE ) -C pgtypeslib $@
8
+ $(MAKE ) -C ecpglib $@
9
9
$(MAKE ) -C compatlib $@
10
10
$(MAKE ) -C preproc $@
11
11
12
12
clean distclean maintainer-clean :
13
13
-$(MAKE ) -C include $@
14
- -$(MAKE ) -C ecpglib $@
15
14
-$(MAKE ) -C pgtypeslib $@
15
+ -$(MAKE ) -C ecpglib $@
16
16
-$(MAKE ) -C compatlib $@
17
17
-$(MAKE ) -C preproc $@
18
18
-$(MAKE ) -C test clean
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $Header: /cvsroot/pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.3 2003/04/16 05:23:55 tgl Exp $
7
+ # $Header: /cvsroot/pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.4 2003/05/22 17:20:44 petere Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -17,6 +17,7 @@ SO_MAJOR_VERSION= 1
17
17
SO_MINOR_VERSION = 0.0
18
18
19
19
override CPPFLAGS := -I$(top_srcdir ) /src/interfaces/ecpg/include -I$(top_srcdir ) /src/include/utils $(CPPFLAGS )
20
+ SHLIB_LINK = -L../pgtypeslib -lpgtypes
20
21
21
22
OBJS = informix.o
22
23
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ deccopy(Numeric *src, Numeric *target)
55
55
}
56
56
57
57
static char *
58
- strndup (char * str , int len )
58
+ strndup (const char * str , size_t len )
59
59
{
60
60
int real_len = strlen (str );
61
61
int use_len = (real_len > len ) ? len : real_len ;
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.2 2003/04/08 17:09:01 tgl Exp $
7
+ # $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.3 2003/05/22 17:20:44 petere Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -21,7 +21,7 @@ override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdi
21
21
OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
22
22
connect.o misc.o
23
23
24
- SHLIB_LINK = $(libpq )
24
+ SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq )
25
25
26
26
all : all-lib
27
27
Original file line number Diff line number Diff line change 1
- # $Header: /cvsroot/pgsql/src/makefiles/Makefile.cygwin,v 1.1 2003/03/21 17:18:34 petere Exp $
1
+ # $Header: /cvsroot/pgsql/src/makefiles/Makefile.cygwin,v 1.2 2003/05/22 17:20:44 petere Exp $
2
2
DLLTOOL= dlltool
3
3
DLLWRAP= dllwrap
4
4
BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
@@ -23,7 +23,7 @@ override CPPFLAGS+= -DBUILDING_DLL
23
23
endif
24
24
endif
25
25
26
- ifneq (,$(findstring ecpg/lib ,$(subdir)))
26
+ ifneq (,$(findstring ecpg/ecpglib ,$(subdir)))
27
27
override CPPFLAGS+= -DBUILDING_DLL
28
28
endif
29
29
You can’t perform that action at this time.
0 commit comments