diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:57:06 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-02-15 22:57:06 +0000 |
| commit | 815b3868bb4646b1188ea9e7279d872651ce7511 (patch) | |
| tree | 60059b92c32fd546186fa5e473af625afd671fe7 /Python/importdl.h | |
| parent | f9c24527424f9045f5e1a6af0850cfac20fd313d (diff) | |
| download | cpython-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.h | 5 |
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; |
