2008-05-30 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
- Removed WIN32_LEAN_AND_MEAN to make things more standard.
We're losing some compile time performance for Windows build,
but it's marginal. Runtime performance is not affected.
* contrib/hbgd/gdwrp.c
* Removed BCC55 hack to workaround WIN32_LEAN_AND_MEAN
problem.
This commit is contained in:
@@ -8,6 +8,16 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-05-30 12:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* include/hbdefs.h
|
||||
- Removed WIN32_LEAN_AND_MEAN to make things more standard.
|
||||
We're losing some compile time performance for Windows build,
|
||||
but it's marginal. Runtime performance is not affected.
|
||||
|
||||
* contrib/hbgd/gdwrp.c
|
||||
* Removed BCC55 hack to workaround WIN32_LEAN_AND_MEAN
|
||||
problem.
|
||||
|
||||
2008-05-30 12:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* include/hbsetup.ch
|
||||
* include/hbsetup.h
|
||||
|
||||
@@ -58,14 +58,6 @@
|
||||
#include "hbapierr.h"
|
||||
#include "hbapifs.h"
|
||||
|
||||
/* NOTE: We need this to generate proper extern references for BCC 5.5
|
||||
(even 5.8 don't need this hack). Harbour uses WIN32_LEAN_AND_MEAN,
|
||||
which makes BCC 5.5 leave out something which causes wrong
|
||||
extern references. So we need full windows.h and we're including it. */
|
||||
#ifdef HB_OS_WIN_32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
/* Include windows.h if applicable and requested */
|
||||
#if defined( HB_OS_WIN_32_USED ) && defined( HB_OS_WIN_32 )
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#if defined( __GNUC__ )
|
||||
#define HB_DONT_DEFINE_BASIC_TYPES
|
||||
|
||||
Reference in New Issue
Block a user