mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Use snprintf from libpgport in ecpg compatlib. Required since
we restricted exports from ecpglib.
This commit is contained in:
parent
7b4453e5c1
commit
f83e44aecd
@ -1,4 +1,4 @@
|
||||
/* $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 <string.h>
|
||||
@ -8,6 +8,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#define POSTGRES_ECPG_INTERNAL
|
||||
#include <postgres_fe.h>
|
||||
#include <ecpgtype.h>
|
||||
#include <ecpg_informix.h>
|
||||
#include <pgtypes_error.h>
|
||||
|
@ -3,7 +3,7 @@ package Mkvcbuild;
|
||||
#
|
||||
# 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 Win32;
|
||||
@ -152,7 +152,7 @@ sub mkvcbuild
|
||||
$solution->AddProject('libecpg_compat','dll','interfaces','src\interfaces\ecpg\compatlib');
|
||||
$libecpgcompat->AddIncludeDir('src\interfaces\ecpg\include');
|
||||
$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');
|
||||
$ecpg->AddIncludeDir('src\interfaces\ecpg\include');
|
||||
|
Loading…
Reference in New Issue
Block a user