summaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2021-12-02 20:43:00 +0000
committerMladen Turk <mturk@apache.org>2021-12-02 20:43:00 +0000
commit4628f0abc7a75349f006b0a6605a28e6f163a345 (patch)
tree705f074223587fd2eceb42acaf94e863025ba11d /include/arch
parente1835672125cc905c7d21a1f48f6bd3e3a2c6921 (diff)
downloadapr-4628f0abc7a75349f006b0a6605a28e6f163a345.tar.gz
Stage 1 in dissmantling _WIN_32_WCE ... cleanup header files
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895506 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/win32/apr_private.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/arch/win32/apr_private.h b/include/arch/win32/apr_private.h
index 381a27b4b..fcf877e36 100644
--- a/include/arch/win32/apr_private.h
+++ b/include/arch/win32/apr_private.h
@@ -41,7 +41,6 @@
* Avoid dragging in wtypes.h unless it's absolutely necessary [generally
* not with APR itself, until some GUI-related security is introduced.]
*/
-#ifndef _WIN32_WCE
#define HAVE_ACLAPI 1
#ifdef __wtypes_h__
#include <accctrl.h>
@@ -50,18 +49,15 @@
#include <accctrl.h>
#undef __wtypes_h__
#endif
-#else
-#define HAVE_ACLAPI 0
-#endif
/* Use this section to define all of the HAVE_FOO_H
* that are required to build properly.
*/
#define HAVE_LIMITS_H 1
#define HAVE_MALLOC_H 1
-#define HAVE_PROCESS_H APR_NOT_IN_WCE
+#define HAVE_PROCESS_H 1
#define HAVE_SIGNAL_H 1
-#define HAVE_STDDEF_H APR_NOT_IN_WCE
+#define HAVE_STDDEF_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRICMP 1
@@ -150,12 +146,8 @@ APR_DECLARE_DATA int errno;
#define APR_OFF_T_STRFN apr_strtoi64
#endif
#else
-#if defined(_WIN32_WCE)
-#define APR_OFF_T_STRFN strtol
-#else
#define APR_OFF_T_STRFN strtoi
#endif
-#endif
/* used to check for DWORD overflow in 64bit compiles */
#define APR_DWORD_MAX 0xFFFFFFFFUL