git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985dde8
)
r21091: Fix the build without inotify
author
Volker Lendecke
<vlendec@samba.org>
Wed, 31 Jan 2007 14:36:50 +0000
(14:36 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:17:36 +0000
(12:17 -0500)
source/smbd/notify.c
patch
|
blob
|
history
diff --git
a/source/smbd/notify.c
b/source/smbd/notify.c
index 2907bd7e0f47ff438eae32a179676877be608399..49219bcca5277b390dd6d9a3cddefc260fe6f8b5 100644
(file)
--- a/
source/smbd/notify.c
+++ b/
source/smbd/notify.c
@@
-610,6
+610,10
@@
NTSTATUS sys_notify_watch(struct sys_notify_context *ctx,
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
}