Commit 99a07a1f authored by Yang Tse's avatar Yang Tse
Browse files

build: provide SIZEOF_SIZE_T definition for non-configure builds

parent 81c16c2e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@

#define SIZEOF_INT 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4

#define USE_OPENSSL 1
#define USE_SSLEAY 1
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@

#define SIZEOF_INT              4
#define SIZEOF_SHORT            2
#define SIZEOF_SIZE_T           4

#define HAVE_GETNAMEINFO 1
#define GETNAMEINFO_QUAL_ARG1 const
+3 −0
Original line number Diff line number Diff line
@@ -364,6 +364,9 @@
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT            2

/* The size of `size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T           8

/* Whether long long constants must be suffixed by LL. */

#define HAVE_LL
+3 −0
Original line number Diff line number Diff line
@@ -350,6 +350,9 @@
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2

/* The size of `size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T 4

/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS

+7 −0
Original line number Diff line number Diff line
@@ -345,6 +345,13 @@
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2

/* The size of `size_t', as computed by sizeof. */
#if defined(_WIN64)
#  define SIZEOF_SIZE_T 8
#else
#  define SIZEOF_SIZE_T 4
#endif

/* ---------------------------------------------------------------- */
/*                          STRUCT RELATED                          */
/* ---------------------------------------------------------------- */
Loading