diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:57:06 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:57:06 (GMT) |
commit | 9c96a923fb3be046489ff486d41194658c9b015a (patch) | |
tree | 3af5383b782f40af9ff90d4b73fe75b3e6cc0c86 /Python/importdl.h | |
parent | 3cfc8bd8415d504c18d44103c4e4ce1e193d5a49 (diff) | |
download | cpython-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.h | 5 |
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; |