Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r61237:3b4ede83d81c
Date: 2013-02-14 14:49 +0000
http://bitbucket.org/pypy/pypy/changeset/3b4ede83d81c/

Log:    Unclear why it occurs here and not on "default", but we need to
        prevent multiple #includes of this file

diff --git a/rpython/translator/c/src/stack.h b/rpython/translator/c/src/stack.h
--- a/rpython/translator/c/src/stack.h
+++ b/rpython/translator/c/src/stack.h
@@ -2,6 +2,10 @@
 /************************************************************/
  /***  C header subsection: stack operations               ***/
 
+#ifndef _RPY_STACK_H_
+#define _RPY_STACK_H_
+
+
 #ifndef MAX_STACK_SIZE
 #    define MAX_STACK_SIZE (3 << 18)    /* 768 kb */
 #endif
@@ -35,3 +39,4 @@
 #endif
 
 
+#endif  /* _RPY_STACK_H_ */
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to