Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
0ad3e046
Commit
0ad3e046
authored
19 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Fix spacing. When defining, define to 1.
parent
d6c5d24a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ares/config-win32.h
+60
-13
60 additions, 13 deletions
ares/config-win32.h
lib/config-win32.h
+14
-14
14 additions, 14 deletions
lib/config-win32.h
lib/config-win32ce.h
+19
-19
19 additions, 19 deletions
lib/config-win32ce.h
src/config-win32.h
+2
-2
2 additions, 2 deletions
src/config-win32.h
with
95 additions
and
48 deletions
ares/config-win32.h
+
60
−
13
View file @
0ad3e046
...
...
@@ -16,24 +16,71 @@
* without express or implied warranty.
*/
#define HAVE_WINDOWS_H
#define HAVE_WINSOCK2_H
#define HAVE_WS2TCPIP_H
/* ================================================================ */
/* ares/config-win32.h - Hand crafted config file for windows */
/* ================================================================ */
/* ---------------------------------------------------------------- */
/* HEADER FILES */
/* ---------------------------------------------------------------- */
/* Define if you have the <getopt.h> header file. */
#if defined(__MINGW32__)
#define HAVE_GETOPT_H
#define HAVE_GETOPT_H
1
#endif
#if defined(__MINGW32__) || defined(__WATCOMC__)
#define HAVE_UNISTD_H
/* Define if you have the <unistd.h> header file. */
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
#define HAVE_UNISTD_H 1
#endif
#define HAVE_AF_INET6
#define HAVE_PF_INET6
#define HAVE_IOCTLSOCKET
#define HAVE_STRUCT_IN6_ADDR
#define HAVE_STRUCT_SOCKADDR_IN6
#define HAVE_STRUCT_ADDRINFO
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
/* Define if you have the <windows.h> header file. */
#define HAVE_WINDOWS_H 1
/* Define if you have the <winsock.h> header file. */
#define HAVE_WINSOCK_H 1
/* Define if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H 1
/* Define if you have the <ws2tcpip.h> header file. */
#define HAVE_WS2TCPIP_H 1
/* ---------------------------------------------------------------- */
/* FUNCTIONS */
/* ---------------------------------------------------------------- */
/* Define if you have the ioctlsocket function. */
#define HAVE_IOCTLSOCKET 1
/* ---------------------------------------------------------------- */
/* STRUCT RELATED */
/* ---------------------------------------------------------------- */
/* Define this if you have struct addrinfo */
#define HAVE_STRUCT_ADDRINFO 1
/* Define this if you have struct sockaddr_storage */
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
/* ---------------------------------------------------------------- */
/* IPV6 COMPATIBILITY */
/* ---------------------------------------------------------------- */
/* Define this if you have address family AF_INET6 */
#define HAVE_AF_INET6 1
/* Define this if you have protocol family PF_INET6 */
#define HAVE_PF_INET6 1
/* Define this if you have struct in6_addr */
#define HAVE_STRUCT_IN6_ADDR 1
/* Define this if you have struct sockaddr_in6 */
#define HAVE_STRUCT_SOCKADDR_IN6 1
/* Define this if you have sockaddr_in6 with scopeid */
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#endif
/* __ARES_CONFIG_WIN32_H */
This diff is collapsed.
Click to expand it.
lib/config-win32.h
+
14
−
14
View file @
0ad3e046
...
...
@@ -19,19 +19,19 @@
#define HAVE_ASSERT_H 1
/* Define if you have the <crypto.h> header file. */
/* #
un
def HAVE_CRYPTO_H */
/* #def
ine
HAVE_CRYPTO_H
1
*/
/* Define if you have the <dlfcn.h> header file. */
/* #define HAVE_DLFCN_H 1 */
/* Define if you have the <err.h> header file. */
/* #
un
def HAVE_ERR_H */
/* #def
ine
HAVE_ERR_H
1
*/
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <getopt.h> header file. */
/* #
un
def HAVE_GETOPT_H */
/* #def
ine
HAVE_GETOPT_H
1
*/
/* Define if you have the <io.h> header file. */
#define HAVE_IO_H 1
...
...
@@ -43,25 +43,25 @@
/* #define HAVE_NETDB_H 1 */
/* Define if you have the <netinet/in.h> header file. */
/* #define HAVE_NETINET_IN_H 1*/
/* #define HAVE_NETINET_IN_H 1
*/
/* Define if you have the <sgtty.h> header file. */
/* #define HAVE_SGTTY_H 1*/
/* #define HAVE_SGTTY_H 1
*/
/* Define if you have the <ssl.h> header file. */
/* #
un
def HAVE_SSL_H */
/* #def
ine
HAVE_SSL_H
1
*/
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <sys/param.h> header file. */
/* #define HAVE_SYS_PARAM_H 1*/
/* #define HAVE_SYS_PARAM_H 1
*/
/* Define if you have the <sys/select.h> header file. */
/* #define HAVE_SYS_SELECT_H 1 */
/* Define if you have the <sys/socket.h> header file. */
/* #define HAVE_SYS_SOCKET_H 1*/
/* #define HAVE_SYS_SOCKET_H 1
*/
/* Define if you have the <sys/sockio.h> header file. */
/* #define HAVE_SYS_SOCKIO_H 1 */
...
...
@@ -121,7 +121,7 @@
#define HAVE_CLOSESOCKET 1
/* Define if you don't have vprintf but do have _doprnt. */
/* #
un
def HAVE_DOPRNT */
/* #def
ine
HAVE_DOPRNT
1
*/
/* Define if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1
...
...
@@ -145,7 +145,7 @@
#define HAVE_INET_NTOA 1
/* Define if you have the ioctlsocket function. */
#define HAVE_IOCTLSOCKET
#define HAVE_IOCTLSOCKET
1
/* Define if you have the perror function. */
#define HAVE_PERROR 1
...
...
@@ -254,7 +254,7 @@
/* ---------------------------------------------------------------- */
/* Define this if you have struct sockaddr_storage */
#define HAVE_STRUCT_SOCKADDR_STORAGE
#define HAVE_STRUCT_SOCKADDR_STORAGE
1
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
...
...
@@ -268,7 +268,7 @@
/* ---------------------------------------------------------------- */
/* lber dynamic library file */
/* #
un
def DL_LBER_FILE */
/* #def
ine
DL_LBER_FILE */
/* ldap dynamic library file */
#define DL_LDAP_FILE "wldap32.dll"
...
...
@@ -278,8 +278,8 @@
/* ---------------------------------------------------------------- */
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
1
#define _CRT_NONSTDC_NO_DEPRECATE
1
/* Define cpu-machine-OS */
#undef OS
...
...
This diff is collapsed.
Click to expand it.
lib/config-win32ce.h
+
19
−
19
View file @
0ad3e046
...
...
@@ -19,19 +19,19 @@
/* #define HAVE_ASSERT_H 1 */
/* Define if you have the <crypto.h> header file. */
/* #
un
def HAVE_CRYPTO_H */
/* #def
ine
HAVE_CRYPTO_H
1
*/
/* Define if you have the <dlfcn.h> header file. */
/* #define HAVE_DLFCN_H 1 */
/* Define if you have the <err.h> header file. */
/* #
un
def HAVE_ERR_H */
/* #def
ine
HAVE_ERR_H
1
*/
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <getopt.h> header file. */
/* #
un
def HAVE_GETOPT_H */
/* #def
ine
HAVE_GETOPT_H
1
*/
/* Define if you have the <io.h> header file. */
#define HAVE_IO_H 1
...
...
@@ -43,25 +43,25 @@
/* #define HAVE_NETDB_H 1 */
/* Define if you have the <netinet/in.h> header file. */
/* #define HAVE_NETINET_IN_H 1*/
/* #define HAVE_NETINET_IN_H 1
*/
/* Define if you have the <sgtty.h> header file. */
/* #define HAVE_SGTTY_H 1*/
/* #define HAVE_SGTTY_H 1
*/
/* Define if you have the <ssl.h> header file. */
/* #
un
def HAVE_SSL_H */
/* #def
ine
HAVE_SSL_H
1
*/
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <sys/param.h> header file. */
/* #define HAVE_SYS_PARAM_H 1*/
/* #define HAVE_SYS_PARAM_H 1
*/
/* Define if you have the <sys/select.h> header file. */
/* #define HAVE_SYS_SELECT_H 1 */
/* Define if you have the <sys/socket.h> header file. */
/* #define HAVE_SYS_SOCKET_H 1*/
/* #define HAVE_SYS_SOCKET_H 1
*/
/* Define if you have the <sys/sockio.h> header file. */
/* #define HAVE_SYS_SOCKIO_H 1 */
...
...
@@ -119,7 +119,7 @@
#define HAVE_CLOSESOCKET 1
/* Define if you don't have vprintf but do have _doprnt. */
/* #
un
def HAVE_DOPRNT */
/* #def
ine
HAVE_DOPRNT
1
*/
/* Define if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1
...
...
@@ -143,7 +143,7 @@
#define HAVE_INET_NTOA 1
/* Define if you have the ioctlsocket function. */
#define HAVE_IOCTLSOCKET
#define HAVE_IOCTLSOCKET
1
/* Define if you have the perror function. */
#define HAVE_PERROR 1
...
...
@@ -179,7 +179,7 @@
#define HAVE_STRSTR 1
/* Define if you have the strtoll function. */
#ifdef
__MINGW32__
#if
def
ined(
__MINGW32__
) || defined(__WATCOMC__)
#define HAVE_STRTOLL 1
#endif
...
...
@@ -242,7 +242,7 @@
/* ---------------------------------------------------------------- */
/* Define this if you have struct sockaddr_storage */
/* #define HAVE_STRUCT_SOCKADDR_STORAGE */
/* #define HAVE_STRUCT_SOCKADDR_STORAGE
1
*/
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
...
...
@@ -256,7 +256,7 @@
/* ---------------------------------------------------------------- */
/* lber dynamic library file */
/* #
un
def DL_LBER_FILE */
/* #def
ine
DL_LBER_FILE */
/* ldap dynamic library file */
/* #define DL_LDAP_FILE "wldap32.dll" */
...
...
@@ -266,8 +266,8 @@
/* ---------------------------------------------------------------- */
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
1
#define _CRT_NONSTDC_NO_DEPRECATE
1
/* Define cpu-machine-OS */
#undef OS
...
...
@@ -280,10 +280,10 @@
/* WinCE */
/* ---------------------------------------------------------------- */
#define CURL_DISABLE_FILE
#define CURL_DISABLE_TELNET
#define CURL_DISABLE_LDAP
#define WITHOUT_MM_LIB
#define CURL_DISABLE_FILE
1
#define CURL_DISABLE_TELNET
1
#define CURL_DISABLE_LDAP
1
#define WITHOUT_MM_LIB
1
#ifdef HAVE_WINDOWS_H
# ifndef WIN32_LEAN_AND_MEAN
...
...
This diff is collapsed.
Click to expand it.
src/config-win32.h
+
2
−
2
View file @
0ad3e046
...
...
@@ -69,8 +69,8 @@
/* ---------------------------------------------------------------- */
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
1
#define _CRT_NONSTDC_NO_DEPRECATE
1
/* Define cpu-machine-OS */
#ifndef OS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment