[ros-dev] [ros-diffs] [sginsberg] 35822: - Fix build...

Alex Ionescu ionucu at videotron.ca
Sun Aug 31 13:22:43 CEST 2008


Did you even TRY compiling your tree before committing? Clearly not...

Best regards,
Alex Ionescu



On Sun, Aug 31, 2008 at 1:06 AM,  <sginsberg at svn.reactos.org> wrote:
> Author: sginsberg
> Date: Sat Aug 30 18:06:13 2008
> New Revision: 35822
>
> URL: http://svn.reactos.org/svn/reactos?rev=35822&view=rev
> Log:
> - Fix build...
>
> Modified:
>    trunk/reactos/include/psdk/winnt.h
>
> Modified: trunk/reactos/include/psdk/winnt.h
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=35822&r1=35821&r2=35822&view=diff
> ==============================================================================
> --- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
> +++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Sat Aug 30 18:06:13 2008
> @@ -4695,10 +4695,7 @@
>  MemoryBarrier(VOID)
>  {
>     LONG Barrier;
> -    __asm__ __volatile__
> -    {
> -        xchg Barrier, eax
> -    }
> +    __asm__ __volatile__("xchgl %%eax, %[Barrier]" : : [Barrier] "m" (Barrier) : "memory");
>  }
>  #elif defined (_M_AMD64)
>  #define MemoryBarrier()
>
>


More information about the Ros-dev mailing list