diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-08-17 15:59:33 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 1999-08-17 15:59:33 +0000 |
commit | 6577c978ebc28f950f43591579674e045f3d2a67 (patch) | |
tree | a54b0555bf7862582241f3bc69c81ebf035948f8 /acconfig.h | |
parent | 3171d4b484045e81ea8289845830823008b48ece (diff) | |
download | libapr-6577c978ebc28f950f43591579674e045f3d2a67.tar.gz |
Initial revision
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h new file mode 100644 index 000000000..989bb153a --- /dev/null +++ b/acconfig.h @@ -0,0 +1,46 @@ +#ifndef APR_CONFIG_H +#define APR_CONFIG_H +@TOP@ + +/* Various #defines we need to know about */ +#undef HAVE_STRUCT_UNION_SEMUN +#undef HAVE_LOCK_EX +#undef HAVE_F_SETLK +#undef HAVE_PTHREAD_PROCESS_SHARED + +/* Cross process serialization techniques */ +#undef USE_FLOCK_SERIALIZE +#undef USE_SYSVSEM_SERIALIZE +#undef USE_FCNTL_SERIALIZE +#undef USE_PROC_PTHREAD_SERIALIZE +#undef USE_PTHREAD_SERIALIZE + +#undef NEED_RLIM_T +#undef USEBCOPY + +@BOTTOM@ +#define API_EXPORT(type) type +#define API_EXPORT_NONSTD(type) type +#define API_VAR_IMPORT extern + +/* Make sure we have ssize_t defined to be somethine */ +#undef ssize_t + +/* We want this in config.h, because it is a macro that Windows requires. This + * way, every thread start function has this definition, and things are happy. + */ +#define API_THREAD_FUNC + +#ifdef HAVE_SIGACTION +typedef void Sigfunc(int); + +#if defined(SIG_ING) && !defined(SIG_ERR) +#define SIG_ERR ((Sigfunc *)-1) +#endif + +#define signal(s,f) ap_signal(s, f) +Sigfunc *signal(int signo, Sigfunc * func); +#endif + + +#endif /* APR_CONFIG_H */ |