projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ae9e4
)
Use the sreadfrom() wrapper to replace recvfrom() in our code.
author
Yang Tse
<yangsita@gmail.com>
Mon, 21 Jul 2008 03:06:08 +0000
(
03:06
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 21 Jul 2008 03:06:08 +0000
(
03:06
+0000)
setup_once.h
patch
|
blob
|
history
diff --git
a/setup_once.h
b/setup_once.h
index d3159904f41659b139bcb15e73be59ad6e498628..e1c5af278666be7baeb084111324a603815f15c2 100644
(file)
--- a/
setup_once.h
+++ b/
setup_once.h
@@
-222,6
+222,13
@@
struct timeval {
#endif /* HAVE_RECVFROM */
+#ifdef RECVFROM_TYPE_ARG6_IS_VOID
+# define RECVFROM_ARG6_T unsigned int
+#else
+# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
+#endif
+
+
/*
* Uppercase macro versions of ANSI/ISO is*() functions/macros which
* avoid negative number inputs with argument byte codes > 127.