summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:57:06 +0000
committerJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:57:06 +0000
commit815b3868bb4646b1188ea9e7279d872651ce7511 (patch)
tree60059b92c32fd546186fa5e473af625afd671fe7 /Python/importdl.h
parentf9c24527424f9045f5e1a6af0850cfac20fd313d (diff)
downloadcpython-815b3868bb4646b1188ea9e7279d872651ce7511.tar.gz
Added hooks to support importing pyc code from a resource on the mac.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index e56794a110..ea98ed5bff 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -23,8 +23,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
/* 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;