You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_ftp-commits@incubator.apache.org by wr...@apache.org on 2006/11/20 21:04:18 UTC

svn commit: r477329 - /incubator/mod_ftp/trunk/include/mod_ftp.h

Author: wrowe
Date: Mon Nov 20 13:04:18 2006
New Revision: 477329

URL: http://svn.apache.org/viewvc?view=rev&rev=477329
Log:

  This is feature-based.  It isn't required, but as more FTP'ish constants
  are extracted, more fields need to be duplicated, and this will provide
  the reminder to do so.

Modified:
    incubator/mod_ftp/trunk/include/mod_ftp.h

Modified: incubator/mod_ftp/trunk/include/mod_ftp.h
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/include/mod_ftp.h?view=diff&rev=477329&r1=477328&r2=477329
==============================================================================
--- incubator/mod_ftp/trunk/include/mod_ftp.h (original)
+++ incubator/mod_ftp/trunk/include/mod_ftp.h Mon Nov 20 13:04:18 2006
@@ -29,11 +29,11 @@
    rather than including it, we'll just hack em in
    ourselves
  */
-#ifdef WIN32
+#ifdef HAVE_ARPA_FTP_H
+#include <arpa/ftp.h>
+#else
 #define	TYPE_A		1	/* ASCII */
 #define	TYPE_I		3	/* image */
-#else
-#include <arpa/ftp.h>
 #endif
 
 #ifndef CORE_PRIVATE