Re: Compiling libpq with VisualC

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Compiling libpq with VisualC
Дата
Msg-id 40C03498.7000804@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Compiling libpq with VisualC  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: Compiling libpq with VisualC  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-patches
Andreas Pflug wrote:

>
> The attached patch will create a dummy pg_config_paths.h.
> Additionally, ENABLE_THREAD_SAFETY is supported by the makefile (but
> not by the sources, which need some rework)
>

Now including the patch...
Regards,
Andreas

Index: win32.mak
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/interfaces/libpq/win32.mak,v
retrieving revision 1.23
diff -u -r1.23 win32.mak
--- win32.mak    3 Jun 2004 00:11:13 -0000    1.23
+++ win32.mak    4 Jun 2004 08:22:50 -0000
@@ -77,11 +77,13 @@



-config: ..\..\include\pg_config.h
+config: ..\..\include\pg_config.h pg_config_paths.h

 ..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
     copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h

+pg_config_paths.h: win32.mak
+    echo #define SYSCONFDIR "" >pg_config_paths.h

 "$(OUTDIR)" :
     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@@ -93,6 +95,10 @@
 !IFDEF USE_SSL
 CPP_PROJ=$(CPP_PROJ) /D USE_SSL
 SSL_LIBS=ssleay32.lib libeay32.lib gdi32.lib
+!ENDIF
+
+!IFDEF ENABLE_THREAD_SAFETY
+CPP_PROJ=$(CPP_PROJ) /D ENABLE_THREAD_SAFETY
 !ENDIF

 CPP_SBRS=.



В списке pgsql-patches по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Compiling libpq with VisualC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] pg_dump --comment?