mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
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
This commit is contained in:
parent
2af4defaeb
commit
25c77babeb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user