diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-08-01 00:35:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-01 00:35:42 +0200 |
| commit | 04bf2d612c2d8be658e944e76ec8bc3a58deb093 (patch) | |
| tree | 5f89bb68e91e52fbe7d546e24a07af9460f3bd29 /Source | |
| parent | 18a669abcca0a60c3b4d64b7ba634291fa394f6c (diff) | |
| parent | 0157b72bbc449be23e52f680a6275180f185b9fb (diff) | |
Merge pull request #4066 from Martchus/master
Fix typedef for CURL
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/Analytics.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h index e656d4fd4c..45ff2698f5 100644 --- a/Source/Core/Common/Analytics.h +++ b/Source/Core/Common/Analytics.h @@ -10,13 +10,18 @@ #include <thread> #include <utility> #include <vector> +#include <curl/curlver.h> #include "Common/CommonTypes.h" #include "Common/Event.h" #include "Common/FifoQueue.h" #include "Common/Flag.h" +#if LIBCURL_VERSION_MAJOR >= 7 && LIBCURL_VERSION_MINOR >= 50 +typedef struct Curl_easy CURL; +#else typedef void CURL; +#endif // Utilities for analytics reporting in Dolphin. This reporting is designed to // provide anonymous data about how well Dolphin performs in the wild. It also |
