2022-10-17 08:46:36 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CCPlatformConfig.h"
|
|
|
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
|
|
|
#include "third_party/win32/libjpeg/jpeglib.h"
|
|
|
|
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
|
|
|
|
// nothing?
|
|
|
|
#include <jpeglib.h>
|
2023-12-23 09:48:38 -05:00
|
|
|
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID && __arm__)
|
2022-10-17 08:46:36 -04:00
|
|
|
#include "third_party/android/prebuilt/libjpeg/include/jpeglib.h"
|
2023-12-23 09:48:38 -05:00
|
|
|
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID && __aarch64__)
|
|
|
|
#include "third_party/android64/prebuilt/libjpeg/include/jpeglib.h"
|
2022-10-17 08:46:36 -04:00
|
|
|
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
|
|
|
|
// nothing?
|
|
|
|
#include <jpeglib.h>
|
|
|
|
#endif
|
|
|
|
|