mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
Fix not compiling on macOS/linux
This commit is contained in:
parent
62ae7da667
commit
cde5604ff8
@ -650,7 +650,7 @@ static void Http_SysFree(void) {
|
|||||||
}
|
}
|
||||||
#elif defined CC_BUILD_CURL
|
#elif defined CC_BUILD_CURL
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include <stdint.h>
|
#include <stddef.h>
|
||||||
typedef void CURL;
|
typedef void CURL;
|
||||||
struct curl_slist;
|
struct curl_slist;
|
||||||
typedef int CURLcode;
|
typedef int CURLcode;
|
||||||
@ -694,7 +694,7 @@ typedef struct curl_slist* (APIENTRY *FP_curl_slist_append)(struct curl_slist* l
|
|||||||
#if defined CC_BUILD_WIN
|
#if defined CC_BUILD_WIN
|
||||||
static const String curlLib = String_FromConst("libcurl.dll");
|
static const String curlLib = String_FromConst("libcurl.dll");
|
||||||
#elif defined CC_BUILD_OSX
|
#elif defined CC_BUILD_OSX
|
||||||
static const String curlLib = String_FromConst("libcurl.dylib");
|
static const String curlLib = String_FromConst("/usr/lib/libcurl.dylib");
|
||||||
#else
|
#else
|
||||||
static const String curlLib = String_FromConst("libcurl.so.4");
|
static const String curlLib = String_FromConst("libcurl.so.4");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user