win-pvdrivers

changeset 151:eae0adfa5cee

getting 64b stuff on 32b, use a different #define to fix
author Andy Grover <andy.grover@oracle.com>
date Wed Jan 23 12:21:27 2008 -0800 (2008-01-23)
parents 9b7b4295fb35
children e5d11fe17633
files xenpci/evtchn.c
line diff
     1.1 --- a/xenpci/evtchn.c	Wed Jan 23 12:12:56 2008 -0800
     1.2 +++ b/xenpci/evtchn.c	Wed Jan 23 12:21:27 2008 -0800
     1.3 @@ -19,7 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fi
     1.4  
     1.5  #include "xenpci.h"
     1.6  
     1.7 -#if defined(__X86__)
     1.8 +#if defined(_WIN32)
     1.9    #define xchg(p1, p2) _InterlockedExchange(p1, p2)
    1.10    #define synch_clear_bit(p1, p2) _interlockedbittestandreset(p2, p1)
    1.11    #define synch_set_bit(p1, p2) _interlockedbittestandset(p2, p1)