Commit f83e44ae authored by Magnus Hagander's avatar Magnus Hagander

Use snprintf from libpgport in ecpg compatlib. Required since

we restricted exports from ecpglib.
parent 7b4453e5
/* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.50 2007/10/03 11:11:11 meskes Exp $ */ /* $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/informix.c,v 1.51 2007/10/03 12:34:29 mha Exp $ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <limits.h> #include <limits.h>
#define POSTGRES_ECPG_INTERNAL #define POSTGRES_ECPG_INTERNAL
#include <postgres_fe.h>
#include <ecpgtype.h> #include <ecpgtype.h>
#include <ecpg_informix.h> #include <ecpg_informix.h>
#include <pgtypes_error.h> #include <pgtypes_error.h>
......
...@@ -3,7 +3,7 @@ package Mkvcbuild; ...@@ -3,7 +3,7 @@ package Mkvcbuild;
# #
# Package that generates build files for msvc build # Package that generates build files for msvc build
# #
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.19 2007/10/03 12:11:00 mha Exp $ # $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.20 2007/10/03 12:34:29 mha Exp $
# #
use Carp; use Carp;
use Win32; use Win32;
...@@ -152,7 +152,7 @@ sub mkvcbuild ...@@ -152,7 +152,7 @@ sub mkvcbuild
$solution->AddProject('libecpg_compat','dll','interfaces','src\interfaces\ecpg\compatlib'); $solution->AddProject('libecpg_compat','dll','interfaces','src\interfaces\ecpg\compatlib');
$libecpgcompat->AddIncludeDir('src\interfaces\ecpg\include'); $libecpgcompat->AddIncludeDir('src\interfaces\ecpg\include');
$libecpgcompat->AddIncludeDir('src\interfaces\libpq'); $libecpgcompat->AddIncludeDir('src\interfaces\libpq');
$libecpgcompat->AddReference($pgtypes,$libecpg); $libecpgcompat->AddReference($pgtypes,$libecpg,$libpgport);
my $ecpg = $solution->AddProject('ecpg','exe','interfaces','src\interfaces\ecpg\preproc'); my $ecpg = $solution->AddProject('ecpg','exe','interfaces','src\interfaces\ecpg\preproc');
$ecpg->AddIncludeDir('src\interfaces\ecpg\include'); $ecpg->AddIncludeDir('src\interfaces\ecpg\include');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment