svn commit: samba r26495 - in branches/SAMBA_4_0: . source/lib/replace

jelmer at samba.org jelmer at samba.org
Mon Dec 17 07:45:06 GMT 2007


Author: jelmer
Date: 2007-12-17 07:45:05 +0000 (Mon, 17 Dec 2007)
New Revision: 26495

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26495

Log:
Add defines for getifaddrs/freeifaddrs.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/replace/replace.h


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h	2007-12-17 07:39:42 UTC (rev 26494)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h	2007-12-17 07:45:05 UTC (rev 26495)
@@ -340,6 +340,16 @@
 /* prototype is in "system/network.h" */
 #endif
 
+#ifndef HAVE_GETIFADDRS
+#define getifaddrs rep_getifaddrs
+/* prototype is in "system/network.h" */
+#endif
+
+#ifndef HAVE_FREEIFADDRS
+#define freeifaddrs rep_freeifaddrs
+/* prototype is in "system/network.h" */
+#endif
+
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif



More information about the samba-cvs mailing list