summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 +0000
committerChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 +0000
commit99ea43c6b079caf363ab1519f2439d7797b76721 (patch)
tree5044489b82c2d5cbe2f76ed23c6ccb8ac889c213 /Include
parent446d66a78a241c92f7a569a2ffc9a8f104fbb60d (diff)
downloadcpython-99ea43c6b079caf363ab1519f2439d7797b76721.tar.gz
Backport of the PCbuild9 directory from the py3k branch.
I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :)
Diffstat (limited to 'Include')
-rw-r--r--Include/structmember.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 5b68213c65..589c47cd9a 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -77,8 +77,8 @@ typedef struct PyMemberDef {
#define READONLY 1
#define RO READONLY /* Shorthand */
#define READ_RESTRICTED 2
-#define WRITE_RESTRICTED 4
-#define RESTRICTED (READ_RESTRICTED | WRITE_RESTRICTED)
+#define PY_WRITE_RESTRICTED 4
+#define RESTRICTED (READ_RESTRICTED | PY_WRITE_RESTRICTED)
/* Obsolete API, for binary backwards compatibility */