svn commit: samba r21091 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Wed Jan 31 14:36:50 GMT 2007


Author: vlendec
Date: 2007-01-31 14:36:50 +0000 (Wed, 31 Jan 2007)
New Revision: 21091

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

Log:
Fix the build without inotify
Modified:
   branches/SAMBA_3_0/source/smbd/notify.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/notify.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/notify.c	2007-01-31 14:28:08 UTC (rev 21090)
+++ branches/SAMBA_3_0/source/smbd/notify.c	2007-01-31 14:36:50 UTC (rev 21091)
@@ -610,6 +610,10 @@
 					   struct notify_event *ev),
 			  void *private_data, void *handle)
 {
+#ifdef HAVE_INOTIFY
 	return inotify_watch(ctx, e, callback, private_data, handle);
+#else
+	return NT_STATUS_OK;
+#endif
 }
 



More information about the samba-cvs mailing list