Merge pull request #4066 from Martchus/master

Fix typedef for CURL
This commit is contained in:
Pierre Bourdon 2016-08-01 00:35:42 +02:00 committed by GitHub
commit 04bf2d612c
1 changed files with 5 additions and 0 deletions

View File

@ -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