diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 9c2f6962b6e..0e48b1d2bcb 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -88,15 +88,19 @@ typedef struct w32_bitmap_record Bitmap_Record; | |||
| 88 | #include <alloca.h> | 88 | #include <alloca.h> |
| 89 | #include <sys/param.h> | 89 | #include <sys/param.h> |
| 90 | #endif | 90 | #endif |
| 91 | #if TARGET_API_MAC_CARBON | ||
| 91 | #ifdef MAC_OSX | 92 | #ifdef MAC_OSX |
| 92 | #include <QuickTime/QuickTime.h> | 93 | #include <QuickTime/QuickTime.h> |
| 93 | #else /* not MAC_OSX */ | 94 | #else /* not MAC_OSX */ |
| 95 | #include <QuickTime.h> | ||
| 96 | #endif /* not MAC_OSX */ | ||
| 97 | #else /* not TARGET_API_MAC_CARBON */ | ||
| 94 | #include <Windows.h> | 98 | #include <Windows.h> |
| 95 | #include <Gestalt.h> | 99 | #include <Gestalt.h> |
| 96 | #include <TextUtils.h> | 100 | #include <TextUtils.h> |
| 97 | #include <ImageCompression.h> | 101 | #include <ImageCompression.h> |
| 98 | #include <QuickTimeComponents.h> | 102 | #include <QuickTimeComponents.h> |
| 99 | #endif /* not MAC_OSX */ | 103 | #endif /* not TARGET_API_MAC_CARBON */ |
| 100 | 104 | ||
| 101 | /* MAC_TODO : Color tables on Mac. */ | 105 | /* MAC_TODO : Color tables on Mac. */ |
| 102 | #undef COLOR_TABLE_SUPPORT | 106 | #undef COLOR_TABLE_SUPPORT |