summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Beste <Krak-n@users.noreply.github.com>2016-08-04 22:21:17 -0500
committerDan Beste <Dan.Ray.Beste@gmail.com>2016-08-04 22:39:45 -0500
commit25c77babebe625b46d96d62af9ef3a7bb3f4d99c (patch)
tree7c84606a57d87d9ff551cacb26676afa9f6a5056
parent2af4defaeb7ad6723d7b47f162d07afa2143a789 (diff)
Remove curl version check / include curl.h
This should help prevent breakage when the curl.h header is changed. As far as I can tell this only increases the compile time by a hair, but prevents needing to create a PR every time curl.h gets updated. Alternatively I'm experimenting with CURL_STRICTER defined per a conversion with booto: >booto | krakn: try having CURL_STRICTER defined for the build? Credit goes to: flacs for the suggestion to include curl.h Fix include
-rw-r--r--Source/Core/Common/Analytics.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h
index 816785ee67..0dd167c087 100644
--- a/Source/Core/Common/Analytics.h
+++ b/Source/Core/Common/Analytics.h
@@ -11,19 +11,13 @@
#include <utility>
#include <vector>
-#include <curl/curlver.h>
+#include <curl/curl.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
// allows developers to declare trace points in Dolphin's source code and get