Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r968:b4a037995423
Date: 2014-03-08 13:22 +0100
http://bitbucket.org/pypy/stmgc/changeset/b4a037995423/

Log:    Protect this header

diff --git a/c7/stm/atomic.h b/c7/stm/atomic.h
--- a/c7/stm/atomic.h
+++ b/c7/stm/atomic.h
@@ -1,3 +1,5 @@
+#ifndef _STM_ATOMIC_H
+#define _STM_ATOMIC_H
 
 /* spin_loop() corresponds to the PAUSE instruction on x86.  On
    other architectures, we generate no instruction (but still need
@@ -32,3 +34,6 @@
   static inline void write_fence(void) { __sync_synchronize(); }
 
 #endif
+
+
+#endif  /* _STM_ATOMIC_H */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to