1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-20 05:03:10 +03:00

If we're going to offer a default definition of PQmblen,

it probably ought to actually work.
This commit is contained in:
Tom Lane
1998-10-06 14:16:50 +00:00
parent a4fd4cdc0d
commit fe91cd41ea
2 changed files with 5 additions and 7 deletions

View File

@ -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 */