2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbwin/win_svc.c
    ! fixed compilation with compilers which disable winsvc.h
      if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC
This commit is contained in:
Przemyslaw Czerpak
2010-05-18 16:54:37 +00:00
parent 1581b2ae9b
commit 7bc8a8c506
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,11 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_svc.c
! fixed compilation with compilers which disable winsvc.h
if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC
2010-05-18 09:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/memvarhb.prg
* HB_MVSAVE(): reset to be a FUNCTION to avoid the "volatile"

View File

@@ -56,6 +56,10 @@
#if ! defined( HB_OS_WIN_CE )
#if defined( __POCC__ ) || defined( __XCC__ )
# include <winsvc.h> /* it's disabled by WIN32_LEAN_AND_MEAN */
#endif
static SERVICE_STATUS s_ServiceStatus;
static SERVICE_STATUS_HANDLE s_hStatus;
static char s_szHarbourEntryFunc[ HB_SYMBOL_NAME_LEN + 1 ];