File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 9
9
* didn't really belong there.
10
10
*
11
11
* IDENTIFICATION
12
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.14 1998/10/06 03:02:25 momjian Exp $
12
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.15 1998/10/06 14:16:50 tgl Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -515,13 +515,12 @@ PQmblen(unsigned char *s)
515
515
516
516
#else
517
517
518
- #ifdef WIN32
518
+ /* Provide a default definition in case someone calls it anyway */
519
519
int
520
520
PQmblen (unsigned char * s )
521
521
{
522
+ return 1 ;
522
523
}
523
- #endif /* WIN32 */
524
-
525
524
526
525
#endif /* MULTIBYTE */
527
526
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: libpq-fe.h,v 1.44 1998/10/01 01:40:23 tgl Exp $
9
+ * $Id: libpq-fe.h,v 1.45 1998/10/06 14:16:49 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -283,9 +283,8 @@ extern "C"
283
283
int width ); /* width of column, if
284
284
* 0, use variable width */
285
285
286
- #ifdef MULTIBYTE
286
+ /* Determine length of multibyte encoded char at *s */
287
287
extern int PQmblen (unsigned char * s );
288
- #endif
289
288
290
289
/* === in fe-lobj.c === */
291
290
You can’t perform that action at this time.
0 commit comments