summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
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;