diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-21 18:51:17 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-21 18:51:17 +0000 |
commit | e4d95d836af0e84c51e9f8f5e7bac140d52b1f93 (patch) | |
tree | 79b6757453cc932f9c236c911234e5f5d1b51dce /include/apr_general.h | |
parent | d6f6b30b3ec0c2323474a7d5c80795ba1e6cec25 (diff) | |
download | libapr-e4d95d836af0e84c51e9f8f5e7bac140d52b1f93.tar.gz |
don't compile mktemp.c unless we have to; it doesn't compile everywhere
as it stands now (e.g., Tru64)
Somebody with ReliantUNIX or some other box with no mkstemp() needs to
try it out now. I wonder where the prototype for mkstemp() comes from
on that platform.
Regarding my configure.in changes:
. The first parm to AC_CHECK_FUNCS() must be the name of the function.
. We weren't using the have_mkstemp shell variable anywhere so I stopped
setting it. If we need a symbol APR_HAVE_MKSTEMP later we will need
to resurrect the have_mkstemp shell variable.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61276 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_general.h')
-rw-r--r-- | include/apr_general.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/apr_general.h b/include/apr_general.h index 52ea78844..33d0a8060 100644 --- a/include/apr_general.h +++ b/include/apr_general.h @@ -143,12 +143,6 @@ int strncasecmp(const char *a, const char *b, size_t n); #define memmove(a,b,c) bcopy(b,a,c) #endif -#if (!HAVE_MKSTEMP) -#define mkstemp(a) ap_mkstemp(a) -#define mkstemps(a,b) ap_mkstemp(a,b) -#define mkdtemp(a) ap_mkdtemp(a) -#endif - /** * @package APR Random Functions */ |