2008-05-26 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbmsql/make_b32.bat
   * contrib/hbmsql/make_vc.bat
   * contrib/hbmsql/msql.c
     + Now automatically setting _OS_WIN32, no need to
       use special CFLAGS anymore.
This commit is contained in:
Viktor Szakats
2008-05-26 09:28:55 +00:00
parent 5a3de021e0
commit 2940317c15
4 changed files with 13 additions and 8 deletions

View File

@@ -8,6 +8,13 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-05-26 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmsql/make_b32.bat
* contrib/hbmsql/make_vc.bat
* contrib/hbmsql/msql.c
+ Now automatically setting _OS_WIN32, no need to
use special CFLAGS anymore.
2008-05-26 11:20 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbgd/include
- contrib/hbgd/doc/COPYING

View File

@@ -3,8 +3,4 @@ rem
rem $Id$
rem
set CFLAGS=-D_OS_WIN32
call ..\mtpl_b32.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
set CFLAGS=

View File

@@ -3,8 +3,4 @@ rem
rem $Id$
rem
set CFLAGS=-D_OS_WIN32
call ..\mtpl_vc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
set CFLAGS=

View File

@@ -57,6 +57,12 @@
#include "extend.api"
#include "item.api"
#ifdef HB_OS_WIN_32
/* This is needed by msql.h to indicate the platform. */
#define _OS_WIN32
#endif
#include "msql.h"
HB_FUNC(MSQLCONNEC) // int msqlConnect(char *)