You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/03/07 23:15:04 UTC

svn commit: r920130 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h

Author: tabish
Date: Sun Mar  7 22:15:04 2010
New Revision: 920130

URL: http://svn.apache.org/viewvc?rev=920130&view=rev
Log:
Update to use Decaf Config.h to check for HAVE_UNISTD_H

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h?rev=920130&r1=920129&r2=920130&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/zip/zconf.h Sun Mar  7 22:15:04 2010
@@ -8,6 +8,8 @@
 #ifndef ZCONF_H
 #define ZCONF_H
 
+#include <decaf/util/Config.h>
+
 /*
  * If you *really* need a unique prefix for all types and library functions,
  * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
@@ -284,7 +286,7 @@
    typedef Byte       *voidp;
 #endif
 
-#if 1           /* HAVE_UNISTD_H -- this line is updated by ./configure */
+#if HAVE_UNISTD_H        /* HAVE_UNISTD_H -- this line is updated by ./configure */
 #  include <sys/types.h> /* for off_t */
 #  include <unistd.h>    /* for SEEK_* and off_t */
 #  ifdef VMS