summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macfsmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-19 12:34:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-19 12:34:59 (GMT)
commit6143d533b682dbfe38474ae8858741b3eecd8c91 (patch)
treed136af7f3ba8f2e57cbeb6910fb9edf4e3d263a5 /Mac/Modules/macfsmodule.c
parent9f66b4af6a02cd185738f0cdb28336151c928056 (diff)
downloadcpython-6143d533b682dbfe38474ae8858741b3eecd8c91.zip
cpython-6143d533b682dbfe38474ae8858741b3eecd8c91.tar.gz
cpython-6143d533b682dbfe38474ae8858741b3eecd8c91.tar.bz2
Include Carbon/Carbon.h in stead of universal headers, if appropriate.
Test for TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON where appropriate.
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r--Mac/Modules/macfsmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c
index 744a091..c16bed0 100644
--- a/Mac/Modules/macfsmodule.c
+++ b/Mac/Modules/macfsmodule.c
@@ -25,12 +25,16 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "macglue.h"
+#ifdef WITHOUT_FRAMEWORKS
#include <Memory.h>
#include <Files.h>
#include <Folders.h>
#include <StandardFile.h>
#include <Aliases.h>
#include <LowMem.h>
+#else
+#include <Carbon/Carbon.h>
+#endif
#include "getapplbycreator.h"