diff Python/importdl.h @ 2349:d65c485e0ad8 legacy-trunk

Added hooks to support importing pyc code from a resource on the mac.
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 15 Feb 1995 22:57:06 +0000
parents d0d0a69b5ca3
children 6a9ecb05c679
line wrap: on
line diff
--- a/Python/importdl.h	Wed Feb 15 22:55:45 1995 +0000
+++ b/Python/importdl.h	Wed Feb 15 22:57:06 1995 +0000
@@ -23,8 +23,11 @@
 ******************************************************************/
 
 /* Definitions for dynamic loading of extension modules */
-
+#ifdef macintosh
+enum filetype {SEARCH_ERROR, PY_SOURCE, PY_COMPILED, C_EXTENSION, PY_RESOURCE};
+#else
 enum filetype {SEARCH_ERROR, PY_SOURCE, PY_COMPILED, C_EXTENSION};
+#endif
 
 extern struct filedescr {
 	char *suffix;