2009-08-11 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* include/hbatomic.h
    ! Suppressed recent bcc warnings.
      Thanks to Grigory Filatov for the fix.
This commit is contained in:
Viktor Szakats
2009-08-10 23:58:19 +00:00
parent a26febda16
commit 1db461e6ef
2 changed files with 7 additions and 2 deletions

View File

@@ -17,6 +17,11 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-11 01:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbatomic.h
! Suppressed recent bcc warnings.
Thanks to Grigory Filatov for the fix.
2009-08-11 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
* config/wce/msvcarm.cf

View File

@@ -370,9 +370,9 @@ HB_EXTERN_BEGIN
# define HB_SPINLOCK_ACQUIRE(l) do { \
for( ;; ) \
{ \
if( !InterlockedExchange( (l), 1 ) ) \
if( !InterlockedExchange( (LONG*)(l), 1 ) ) \
break; \
if( !InterlockedExchange( (l), 1 ) ) \
if( !InterlockedExchange( (LONG*)(l), 1 ) ) \
break; \
Sleep( 0 ); \
} \