geode/loader/include/Geode/cocos/platform/IncludeCurl.h
2023-12-23 17:48:38 +03:00

17 lines
626 B
C
Vendored

#pragma once
#include "CCPlatformConfig.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
#include "third_party/win32/curl/curl.h"
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
// nothing?
#include "third_party/ios/curl/curl.h"
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID && __arm__)
#include "third_party/android/prebuilt/libcurl/include/curl/curl.h"
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID && __aarch64__)
#include "third_party/android64/prebuilt/libcurl/include/curl/curl.h"
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
// nothing?
#include <curl/curl.h>
#endif