git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64662cb
)
libreplace: make it possible to disable socket_wrapper via -DSOCKET_WRAPPER_DISABLE=1
author
Stefan Metzmacher
<metze@samba.org>
Thu, 26 Feb 2009 09:29:55 +0000
(10:29 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 26 Feb 2009 09:48:10 +0000
(10:48 +0100)
metze
lib/replace/system/network.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/network.h
b/lib/replace/system/network.h
index 40d20db2d4a4ac7fc3504f8e092cf7a80d47c5d9..f135d175d43dcecfc6a2ec7bc92eb5d805528ce3 100644
(file)
--- a/
lib/replace/system/network.h
+++ b/
lib/replace/system/network.h
@@
-327,10
+327,12
@@
struct addrinfo {
#endif
#ifdef SOCKET_WRAPPER
+#ifndef SOCKET_WRAPPER_DISABLE
#ifndef SOCKET_WRAPPER_NOT_REPLACE
#define SOCKET_WRAPPER_REPLACE
-#endif
+#endif
/* SOCKET_WRAPPER_NOT_REPLACE */
#include "../socket_wrapper/socket_wrapper.h"
-#endif
+#endif /* SOCKET_WRAPPER_DISABLE */
+#endif /* SOCKET_WRAPPER */
#endif