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:
Viktor Szakats
2008-05-30 10:18:29 +00:00
parent b788d7d5f1
commit f7e81a1402
3 changed files with 10 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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