summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-14 21:09:30 +0000
committerYang Tse <yangsita@gmail.com>2005-12-14 21:09:30 +0000
commit7f5d092223950d6923aec0225bb54d33df65ba98 (patch)
treeef7c4988239f718a813a530c5311f7c202a94d80 /acinclude.m4
parent2e5cccd1b65a3cecaab71146dc0f8a548bbedf64 (diff)
downloadcurl-7f5d092223950d6923aec0225bb54d33df65ba98.tar.gz
Some preprocessors have problems if the # character isn't at position 1.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m424
1 files changed, 12 insertions, 12 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 72c5372d9..c07072ebb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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;