mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:57:17 +03:00
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
This commit is contained in:
parent
2a056ba49e
commit
1a1ffb10d0
2 changed files with 12 additions and 0 deletions
|
|
@ -218,6 +218,16 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
/* TYPE SIZES */
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
#define SIZEOF_INT 4
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#define SIZEOF_SHORT 2
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
/* STRUCT RELATED */
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@
|
|||
#define NEED_MALLOC_H 1
|
||||
|
||||
#define RETSIGTYPE void
|
||||
#define SIZEOF_INT 4
|
||||
#define SIZEOF_SHORT 2
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Qualifiers for send(), recv(), recvfrom() and getnameinfo(). */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue