Author: Christian Tismer <tis...@stackless.com>
Branch: win64-stage1
Changeset: r50222:ccaf375ee24b
Date: 2011-12-06 21:01 +0100
http://bitbucket.org/pypy/pypy/changeset/ccaf375ee24b/

Log:    more places where signed_defn.h is missing. Made it easier to add it
        more often

diff --git a/pypy/translator/c/src/signals.h b/pypy/translator/c/src/signals.h
--- a/pypy/translator/c/src/signals.h
+++ b/pypy/translator/c/src/signals.h
@@ -7,6 +7,7 @@
 #include <limits.h>
 
 #include <stdlib.h>
+#include "stc/signed_defn.h"
 
 #ifdef _WIN32
 #include <process.h>
diff --git a/pypy/translator/c/src/signed_defn.h 
b/pypy/translator/c/src/signed_defn.h
--- a/pypy/translator/c/src/signed_defn.h
+++ b/pypy/translator/c/src/signed_defn.h
@@ -1,5 +1,8 @@
 /* this file defines Signed and Unsigned */
 
+#ifndef SIGNED_DEFN_H
+#define SIGNED_DEFN_H
+
 #ifdef _WIN64
    typedef          __int64 Signed;
    typedef unsigned __int64 Unsigned;
@@ -10,4 +13,6 @@
 #  define SIGNED_MIN LONG_MIN
 #endif
 
+#endif
+
 /* end of signed_def.h */
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to