Get rid of one ifdef

This commit is contained in:
twinaphex 2016-09-17 00:22:55 +02:00
parent 32ce489eed
commit 4caee1ca5f

View File

@ -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);