mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -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
|
||||
#include "Errors.h"
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
typedef void CURL;
|
||||
struct curl_slist;
|
||||
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
|
||||
static const String curlLib = String_FromConst("libcurl.dll");
|
||||
#elif defined CC_BUILD_OSX
|
||||
static const String curlLib = String_FromConst("libcurl.dylib");
|
||||
static const String curlLib = String_FromConst("/usr/lib/libcurl.dylib");
|
||||
#else
|
||||
static const String curlLib = String_FromConst("libcurl.so.4");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user