summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-06-27 15:24:53 (GMT)
committerGuido van Rossum <guido@python.org>1994-06-27 15:24:53 (GMT)
commit170c2e108fabc5bba0d894f87266c400eebff884 (patch)
tree5541e03232752d47e008bbefaf752e1af84f1858 /Mac
parentf713247ed7c42c8cabbf705a9b6c0b9418f32ab8 (diff)
downloadcpython-170c2e108fabc5bba0d894f87266c400eebff884.zip
cpython-170c2e108fabc5bba0d894f87266c400eebff884.tar.gz
cpython-170c2e108fabc5bba0d894f87266c400eebff884.tar.bz2
Change include path for unixemu headers; rename access to access_
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/macmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index cc6cf42..f684dd2 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -36,9 +36,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <fcntl.h>
-#include "::unixemu:macdefs.h"
-#include "::unixemu:dir.h"
-#include "::unixemu:stat.h"
+#include ":::unixemu:macdefs.h"
+#include ":::unixemu:dir.h"
+#include ":::unixemu:stat.h"
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
@@ -426,7 +426,7 @@ mac_write(self, args)
}
static struct methodlist mac_methods[] = {
- {"access", mac_access},
+ {"access_", mac_access}, /* "access" is a Python reserved word */
{"chdir", mac_chdir},
{"close", mac_close},
#ifdef MPW