summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 (GMT)
commite8954f8ce7d60d5d926f29511cde99f2f3ea0630 (patch)
treef49ff9e954b5eac92e2b8938baca8457f2371e49 /Include/structmember.h
parent64c06e327d48150fc548cf18a4a7ae0b890e69fa (diff)
downloadcpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.zip
cpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.tar.gz
cpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.tar.bz2
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/structmember.h')
-rw-r--r--Include/structmember.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 5b68213..589c47c 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 */