Skip to content

Commit f936216

Browse files
committed
add odbc types for macos
1 parent be697bf commit f936216

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpp/include/common/odbc_common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
#include <sqltypes.h>
4747
#include <sqlucode.h>
4848
#include <msodbcsql.h> // For SQL_SS_* types
49+
50+
// Define DBBIT for macOS (not defined in standard ODBC headers)
51+
#ifndef DBBIT
52+
typedef unsigned char DBBIT;
53+
#endif
4954
#endif
5055

5156
// SQL Server specific types that might not be defined in older headers

0 commit comments

Comments
 (0)