From 25c77babebe625b46d96d62af9ef3a7bb3f4d99c Mon Sep 17 00:00:00 2001 From: Dan Beste Date: Thu, 4 Aug 2016 22:21:17 -0500 Subject: [PATCH] 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 --- Source/Core/Common/Analytics.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h index 816785ee676b..0dd167c087bd 100644 --- a/Source/Core/Common/Analytics.h +++ b/Source/Core/Common/Analytics.h @@ -11,19 +11,13 @@ #include #include -#include +#include #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