2011-02-01 22:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbodbc/odbc.c
    ! Added workaround for OpenWatcom (1.9) missing an entry for
      SQLSetStmtAttr() function's wide version (SQLSetStmtAttrW), 
      while it has it properly present in the header.
      The workaround will disable UNICODE for hbodbc lib when
      built for win/watcom.
      [ I'd appreciate if someone could report this problem
      upstream. ]
This commit is contained in:
Viktor Szakats
2011-02-01 21:06:23 +00:00
parent 80ac81c146
commit 03acef5e8c
2 changed files with 21 additions and 1 deletions

View File

@@ -16,6 +16,16 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-02-01 22:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
! Added workaround for OpenWatcom (1.9) missing an entry for
SQLSetStmtAttr() function's wide version (SQLSetStmtAttrW),
while it has it properly present in the header.
The workaround will disable UNICODE for hbodbc lib when
built for win/watcom.
[ I'd appreciate if someone could report this problem
upstream. ]
2011-02-01 20:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetioq/netiosrq.prg
! Fixed casing in #include lines.
@@ -60,7 +70,7 @@
gtwvg dll:
Error! E2028: IID_IPicture is an undefined reference
and hbodbc dll:
Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference
Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference [DONE]
Any idea?
2011-02-01 16:59 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

View File

@@ -80,6 +80,16 @@
/* Required by headers on Windows */
#if defined( HB_OS_WIN )
/* NOTE: Workaround for OpenWatcom's (tested with 1.9) odbc32.lib implib
missing the entry for wide version of one function,
so we turn off UNICODE, until its fixed in OpenWatcom:
Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference
[vszakats] */
# if defined( __WATCOMC__ ) && defined( UNICODE )
# undef UNICODE
# endif
# include <windows.h>
/* Required for WIN32_LEAN_AND_MEAN mode */
# if ! defined( WIN32 )