From 4caee1ca5fceff3a6b098f05e556dff48673e2ec Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 17 Sep 2016 00:22:55 +0200 Subject: [PATCH] Get rid of one ifdef --- tasks/tasks_internal.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index d264355f62..29c1403343 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -59,14 +59,6 @@ enum nbio_status_enum NBIO_STATUS_TRANSFER_PARSE_FREE }; -#ifdef HAVE_NETWORKING -typedef struct -{ - char *data; - size_t len; -} http_transfer_data_t; -#endif - typedef struct nbio_handle { enum image_type_enum image_type; @@ -81,6 +73,12 @@ typedef struct nbio_handle #ifdef HAVE_NETWORKING +typedef struct +{ + char *data; + size_t len; +} http_transfer_data_t; + void *task_push_http_transfer(const char *url, bool mute, const char *type, retro_task_callback_t cb, void *userdata);