summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:57:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-15 22:57:06 (GMT)
commit9c96a923fb3be046489ff486d41194658c9b015a (patch)
tree3af5383b782f40af9ff90d4b73fe75b3e6cc0c86 /Python/importdl.h
parent3cfc8bd8415d504c18d44103c4e4ce1e193d5a49 (diff)
downloadcpython-9c96a923fb3be046489ff486d41194658c9b015a.zip
cpython-9c96a923fb3be046489ff486d41194658c9b015a.tar.gz
cpython-9c96a923fb3be046489ff486d41194658c9b015a.tar.bz2
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 e56794a..ea98ed5 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;