third-party libs
This commit is contained in:
parent
f836927d3a
commit
b154ee9266
3667 changed files with 854591 additions and 0 deletions
32
third-party/curl-7.21.4/tests/libtest/sethostname.h
vendored
Normal file
32
third-party/curl-7.21.4/tests/libtest/sethostname.h
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/*****************************************************************************
|
||||
* _ _ ____ _
|
||||
* Project ___| | | | _ \| |
|
||||
* / __| | | | |_) | |
|
||||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
*/
|
||||
|
||||
#if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(CURL_STATICLIB)
|
||||
# if defined(BUILDING_LIBCURL)
|
||||
# define LIBHOSTNAME_EXTERN __declspec(dllexport)
|
||||
# else
|
||||
# define LIBHOSTNAME_EXTERN __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
# ifdef CURL_HIDDEN_SYMBOLS
|
||||
# define LIBHOSTNAME_EXTERN CURL_EXTERN_SYMBOL
|
||||
# else
|
||||
# define LIBHOSTNAME_EXTERN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
# define FUNCALLCONV __stdcall
|
||||
#else
|
||||
# define FUNCALLCONV
|
||||
#endif
|
||||
|
||||
LIBHOSTNAME_EXTERN int FUNCALLCONV
|
||||
gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue