chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch ifdef __KLIBC__ to ifndef __GLIBC__
[elogind.git]
/
udev_libc_wrapper.h
diff --git
a/udev_libc_wrapper.h
b/udev_libc_wrapper.h
index 6755aa1c7473ace63c60eba5a029d6e41060a6ee..21dbce6474fb1d44868f078edf22ec8457779320 100644
(file)
--- a/
udev_libc_wrapper.h
+++ b/
udev_libc_wrapper.h
@@
-105,7
+105,7
@@
static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
}
#else
/* needed until /usr/include/sys/inotify.h is working */
}
#else
/* needed until /usr/include/sys/inotify.h is working */
-#if
def __K
LIBC__
+#if
ndef __G
LIBC__
#include <sys/inotify.h>
#else
static inline int inotify_init(void)
#include <sys/inotify.h>
#else
static inline int inotify_init(void)
@@
-117,7
+117,7
@@
static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
{
return syscall(__NR_inotify_add_watch, fd, name, mask);
}
{
return syscall(__NR_inotify_add_watch, fd, name, mask);
}
-#endif /* __
K
LIBC__ */
+#endif /* __
G
LIBC__ */
#endif /* __NR_inotify_init */
#ifndef IN_CREATE
#endif /* __NR_inotify_init */
#ifndef IN_CREATE