Fix non-working test

This commit is contained in:
Chris Cannam
2011-12-04 17:09:58 +00:00
parent 2ccb697da9
commit fc0c3b6716

View File

@@ -226,13 +226,9 @@ system_get_process_status(int pid)
#ifdef _WIN32
void system_memorybarrier()
{
#ifdef MemoryBarrier
MemoryBarrier();
#else /* (mingw) */
LONG Barrier = 0;
__asm__ __volatile__("xchgl %%eax,%0 "
: "=r" (Barrier));
#endif
}
#else /* !_WIN32 */
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)