--- sql/odbc/parser3odbc.C 2003/07/24 10:09:40 1.14 +++ sql/odbc/parser3odbc.C 2003/11/10 08:44:53 1.16 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char *RCSId="$Id: parser3odbc.C,v 1.14 2003/07/24 10:09:40 paf Exp $"; +static const char *RCSId="$Id: parser3odbc.C,v 1.16 2003/11/10 08:44:53 paf Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -18,6 +18,7 @@ static const char *RCSId="$Id: parser3od #include "pa_sql_driver.h" +#define WINVER 0x0400 #include // defines @@ -133,7 +134,7 @@ public: char *to=result; while(length--) { if(*from=='\'') { // ' -> '' - *to++='\''; result++; + *to++='\''; } *to++=*from++; }