diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1998-10-06 14:16:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1998-10-06 14:16:50 +0000 |
commit | fe91cd41ea0ce4669b0a64f68a64387d473c9dbd (patch) | |
tree | 3c8c5984687801a8e28d39e5160475383cdfb89d /src/interfaces/libpq/fe-print.c | |
parent | a4fd4cdc0dca016a52e92ddaadb2c9b227ffb082 (diff) |
If we're going to offer a default definition of PQmblen,
it probably ought to actually work.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r-- | src/interfaces/libpq/fe-print.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index a987f2039bf..08e111310ac 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -9,7 +9,7 @@ * didn't really belong there. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.14 1998/10/06 03:02:25 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.15 1998/10/06 14:16:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -515,13 +515,12 @@ PQmblen(unsigned char *s) #else -#ifdef WIN32 +/* Provide a default definition in case someone calls it anyway */ int PQmblen(unsigned char *s) { + return 1; } -#endif /* WIN32 */ - #endif /* MULTIBYTE */ |