* os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
$OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
clean as with 1.3.20.
* support/logresolve.c: added OS specific #ifdef statement to define
h_errno as extern __declspec(dllimport); it's imported from the
cygwin1.dll itself.
Submitted by: Stipe Tolj <tolj@wapme-systems.de>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90805
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.26-dev
+ *) Some initial support for the cygwin platform [prefork only].
+ This is not to be confused with support for the WinNT/Win32
+ platform, which is the recommended configuration for native
+ Win32 users. The cygwin platform support is recommended for
+ cygwin platform users. [Stipe Tolj <tolj@wapme-systems.de>]
+
*) Changed syntax of Set{Input|Output}Filter. The list of filters
must be semicolon delimited (if more than one filter is given.)
The Set{Input|Output}Filter directive now overrides a parent
dnl This is a hack -- we should be using AC_TRY_RUN instead
ap_platform_runtime_link_flag="-R"
;;
+ *cygwin*)
+ APR_SETVAR(APACHE_MPM, [prefork])
+ APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
+ ;;
esac
dnl
OS="unix"
OS_DIR=bs2000 # only the OS_DIR is platform specific.
;;
+*cygwin*)
+ OS="cygwin"
+ OS_DIR="unix"
+ ;;
*)
OS="unix"
OS_DIR=$OS;;
*/
#ifndef h_errno
+#ifdef __CYGWIN__
+extern __declspec(dllimport) int h_errno;
+#else
extern int h_errno; /* some machines don't have this in their headers */
#endif
+#endif
/* largest value for h_errno */