Lines 18-24
Link Here
|
18 |
#ifndef CAML_SIGNALS_MACHDEP_H |
18 |
#ifndef CAML_SIGNALS_MACHDEP_H |
19 |
#define CAML_SIGNALS_MACHDEP_H |
19 |
#define CAML_SIGNALS_MACHDEP_H |
20 |
|
20 |
|
21 |
#if defined(__GNUC__) && defined(__i386__) |
21 |
#if defined(__GNUC__) && (defined(__i386__) || (defined(__x86_64__) && !defined(__LP64__))) |
22 |
|
22 |
|
23 |
#define Read_and_clear(dst,src) \ |
23 |
#define Read_and_clear(dst,src) \ |
24 |
asm("xorl %0, %0; xchgl %0, %1" \ |
24 |
asm("xorl %0, %0; xchgl %0, %1" \ |