Get rid of one ifdef
This commit is contained in:
parent
32ce489eed
commit
4caee1ca5f
|
@ -59,14 +59,6 @@ enum nbio_status_enum
|
||||||
NBIO_STATUS_TRANSFER_PARSE_FREE
|
NBIO_STATUS_TRANSFER_PARSE_FREE
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef HAVE_NETWORKING
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
char *data;
|
|
||||||
size_t len;
|
|
||||||
} http_transfer_data_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct nbio_handle
|
typedef struct nbio_handle
|
||||||
{
|
{
|
||||||
enum image_type_enum image_type;
|
enum image_type_enum image_type;
|
||||||
|
@ -81,6 +73,12 @@ typedef struct nbio_handle
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_NETWORKING
|
#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,
|
void *task_push_http_transfer(const char *url, bool mute, const char *type,
|
||||||
retro_task_callback_t cb, void *userdata);
|
retro_task_callback_t cb, void *userdata);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue