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