hdbc / hdbc-odbc

ODBC driver for HDBC
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Do not use unicode API on non-windows #38

Closed ennocramer closed 5 years ago

ennocramer commented 5 years ago

This pull request changes the diagnostics code to not use the UNICODE API on Unix, as the conventions used in ODBC are based in Windows and are incompatible with UNIX systems.

The code is based on https://github.com/abbradar/hdbc-odbc/commit/79ffd1f5060d2c8b5cbdfd4eba8ae6414372d6b7, but will still use the UNICODE API on Windows.

anton-dessiatov commented 5 years ago

Thank you!