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
7f5d0922
Commit
7f5d0922
authored
19 years ago
by
Yang Tse
Browse files
Options
Downloads
Patches
Plain Diff
Some preprocessors have problems if the # character isn't at position 1.
parent
2e5cccd1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
acinclude.m4
+12
-12
12 additions, 12 deletions
acinclude.m4
configure.ac
+7
-7
7 additions, 7 deletions
configure.ac
with
19 additions
and
19 deletions
acinclude.m4
+
12
−
12
View file @
7f5d0922
...
...
@@ -704,15 +704,15 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
extern int getnameinfo(const struct sockaddr *,
$gni_arg2,
...
...
@@ -725,11 +725,11 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
],[
int res;
struct sockaddr *sa=
NULL
;
struct sockaddr *sa=
0
;
$gni_arg2 salen=0;
char *host=
NULL
;
char *host=
0
;
$gni_arg46 hostlen=0;
char *serv=
NULL
;
char *serv=
0
;
$gni_arg46 servlen=0;
$gni_arg7 flags=0;
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
7
−
7
View file @
7f5d0922
...
...
@@ -1618,13 +1618,13 @@ if test "$ac_cv_func_getnameinfo" = "yes"; then
AC_CHECK_DECL(getnameinfo, ,
AC_DEFINE(HAVE_NO_GETNAMEINFO_PROTO, 1,
[Defined if no getnameinfo() prototype available]),
[
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
[
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
])
CURL_FUNC_GETNAMEINFO_ARGTYPES
fi
...
...
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