mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fix typedef for CURL
This commit is contained in:
@ -10,13 +10,18 @@
|
|||||||
#include <thread>
|
#include <thread>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <curl/curlver.h>
|
||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/Event.h"
|
#include "Common/Event.h"
|
||||||
#include "Common/FifoQueue.h"
|
#include "Common/FifoQueue.h"
|
||||||
#include "Common/Flag.h"
|
#include "Common/Flag.h"
|
||||||
|
|
||||||
|
#if LIBCURL_VERSION_MAJOR >= 7 && LIBCURL_VERSION_MINOR >= 50
|
||||||
|
typedef struct Curl_easy CURL;
|
||||||
|
#else
|
||||||
typedef void CURL;
|
typedef void CURL;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Utilities for analytics reporting in Dolphin. This reporting is designed to
|
// Utilities for analytics reporting in Dolphin. This reporting is designed to
|
||||||
// provide anonymous data about how well Dolphin performs in the wild. It also
|
// provide anonymous data about how well Dolphin performs in the wild. It also
|
||||||
|
Reference in New Issue
Block a user