Commit fcc87002 authored by Yang Tse's avatar Yang Tse
Browse files

Reinstate struct_stat definition that got lost in previous commit.

parent e5b713ee
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -298,6 +298,9 @@
#  define struct_stat                struct _stat
#  define struct_stat                struct _stat
#endif
#endif


#ifndef struct_stat
#  define struct_stat struct stat
#endif


/* Below we define some functions. They should
/* Below we define some functions. They should
   1. close a socket
   1. close a socket
+4 −0
Original line number Original line Diff line number Diff line
@@ -238,6 +238,10 @@ typedef enum {
#  define struct_stat                struct _stat
#  define struct_stat                struct _stat
#endif
#endif


#ifndef struct_stat
#  define struct_stat struct stat
#endif

#ifdef CURL_DOES_CONVERSIONS
#ifdef CURL_DOES_CONVERSIONS
#ifdef HAVE_ICONV
#ifdef HAVE_ICONV
iconv_t inbound_cd  = (iconv_t)-1;
iconv_t inbound_cd  = (iconv_t)-1;