1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

(SCM_FENCE): Use __memory_barrier with the Intel compiler on IA64.

This commit is contained in:
Marius Vollmer 2003-09-12 15:42:29 +00:00
parent 50e0ba57da
commit 189b66ba87

View file

@ -440,6 +440,8 @@ do { \
are implicitly volatile. */
#ifdef __GNUC__
#define SCM_FENCE asm /* volatile */ ("")
#elif defined (__INTEL_COMPILER) && defined (__ia64)
#define SCM_FENCE __memory_barrier()
#else
#define SCM_FENCE
#endif