projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.lttng.org/lttng-tools
[lttng-tools.git]
/
src
/
common
/
compat
/
fcntl.h
diff --git
a/src/common/compat/fcntl.h
b/src/common/compat/fcntl.h
index 575495fe55b3818a4aba8e5af3c41872aab91e74..f1c07a4f27f1e1d7bcc4660ce1ba6231c0388e67 100644
(file)
--- a/
src/common/compat/fcntl.h
+++ b/
src/common/compat/fcntl.h
@@
-28,7
+28,7
@@
extern int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
#define lttng_sync_file_range(fd, offset, nbytes, flags) \
compat_sync_file_range(fd, offset, nbytes, flags)
#define lttng_sync_file_range(fd, offset, nbytes, flags) \
compat_sync_file_range(fd, offset, nbytes, flags)
-#elif
__FreeBSD__
+#elif
defined(__FreeBSD__)
typedef long int off64_t;
typedef off64_t loff_t;
typedef long int off64_t;
typedef off64_t loff_t;
@@
-70,7
+70,7
@@
static inline int posix_fadvise(int fd, off_t offset, off_t len, int advice)
}
#else
}
#else
-#error "Please add support for your OS
into compat/fcntl.h
."
+#error "Please add support for your OS."
#endif /* __linux__ , __FreeBSD__ */
#endif /* _COMPAT_FCNTL_H */
#endif /* __linux__ , __FreeBSD__ */
#endif /* _COMPAT_FCNTL_H */
This page took
0.026207 seconds
and
4
git commands to generate.