1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.

Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 5a06726e6873accd255d584e2c18e62dfcac108d)
This commit is contained in:
Michael Adam 2007-05-24 07:15:36 +00:00 committed by Gerald (Jerry) Carter
parent 4aa857d875
commit 5aec9e21bd

View File

@ -111,11 +111,6 @@ extern char *sys_errlist[];
extern int errno;
#endif
#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL)
ssize_t readahead(int fd, off64_t offset, size_t count);
#endif
#ifndef HAVE_STRDUP
#define strdup rep_strdup
char *rep_strdup(const char *s);
@ -326,6 +321,12 @@ char *rep_strptime(const char *buf, const char *format, struct tm *tm);
#ifndef RTLD_LAZY
#define RTLD_LAZY 0
#endif
#ifndef RTLD_NOW
#define RTLD_NOW 0
#endif
#ifndef RTLD_GLOBAL
#define RTLD_GLOBAL 0
#endif
#ifndef HAVE_SECURE_MKSTEMP
#define mkstemp(path) rep_mkstemp(path)