Commit f38b5bf2 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  * configure.in: added Cygwin specific APR_SETVARs.

  * 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
parent b461b461
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
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
+4 −0
Original line number Diff line number Diff line
@@ -157,6 +157,10 @@ case $host in
      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
+4 −0
Original line number Diff line number Diff line
@@ -13,6 +13,10 @@ bs2000*)
  OS="unix"
  OS_DIR=bs2000  # only the OS_DIR is platform specific.
  ;;
*cygwin*)
  OS="cygwin"
  OS_DIR="unix"
  ;;
*)
  OS="unix"
  OS_DIR=$OS;;
+4 −0
Original line number Diff line number Diff line
@@ -117,8 +117,12 @@ struct nsrec {
 */

#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 */