mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-24 21:35:21 +02:00
Fix build errors with curl disabled
This commit is contained in:
@@ -17,7 +17,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#include "colorize.h"
|
||||
|
||||
#ifdef USE_CURL
|
||||
#if USE_CURL
|
||||
|
||||
#include <curl/urlapi.h>
|
||||
#include "log.h"
|
||||
|
||||
@@ -22,7 +22,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#define COLOR_CODE(color) "\x1b(c@" color ")"
|
||||
|
||||
#ifdef USE_CURL
|
||||
#if USE_CURL
|
||||
|
||||
/**
|
||||
* Colorize URL to highlight the hostname and any unsafe characters
|
||||
|
||||
Reference in New Issue
Block a user