Skip to content

Commit fc70104

Browse files
author
Hiroshi Inoue
committed
Remove compile errors.
1 parent 4b47467 commit fc70104

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/interfaces/odbc/multibyte.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#include <ctype.h>
1616
#include <stdio.h>
1717
#include <stdlib.h>
18+
#ifndef TRUE
19+
#define TRUE 1
20+
#endif
1821

1922
pg_CS CS_Table[] =
2023
{

src/interfaces/odbc/pgtypes.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,9 @@ ctype_length(Int2 ctype)
12661266

12671267
case SQL_C_BINARY:
12681268
case SQL_C_CHAR:
1269+
#ifdef UNICODE_SUPPORT
12691270
case SQL_C_WCHAR:
1271+
#endif /* UNICODE_SUPPORT */
12701272
return 0;
12711273

12721274
default: /* should never happen */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy