You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ro...@apache.org on 2006/11/06 17:40:34 UTC

svn commit: r471787 - in /apr/apr-util/trunk: CHANGES include/apr_queue.h

Author: rooneg
Date: Mon Nov  6 08:40:33 2006
New Revision: 471787

URL: http://svn.apache.org/viewvc?view=rev&rev=471787
Log:
Allow apr_queue.h to be included before other APR headers.  Previously
it wouldn't declare any function prototypes due to APR_HAS_THREADS not
being defined.

Issue: 40891
Submitted by: Henry Jen <henryjen ztune.net>

* include/apr_queue.h: Move #if APR_HAS_THREADS down below APR includes.

* CHANGES: Note change.

Modified:
    apr/apr-util/trunk/CHANGES
    apr/apr-util/trunk/include/apr_queue.h

Modified: apr/apr-util/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/CHANGES?view=diff&rev=471787&r1=471786&r2=471787
==============================================================================
--- apr/apr-util/trunk/CHANGES (original)
+++ apr/apr-util/trunk/CHANGES Mon Nov  6 08:40:33 2006
@@ -1,5 +1,8 @@
 Changes with APR-util 1.3.0
 
+  *) Allow apr_queue.h to be included before other APR headers.
+     PR 40891 [Henry Jen <henryjen ztune.net>]
+
   *) Fix precedence problem in error checking for sdbm dbm back end.
      PR 40659 [Larry Cipriani <lvc lucent.com>]
 

Modified: apr/apr-util/trunk/include/apr_queue.h
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apr_queue.h?view=diff&rev=471787&r1=471786&r2=471787
==============================================================================
--- apr/apr-util/trunk/include/apr_queue.h (original)
+++ apr/apr-util/trunk/include/apr_queue.h Mon Nov  6 08:40:33 2006
@@ -17,7 +17,6 @@
 #ifndef APR_QUEUE_H
 #define APR_QUEUE_H
 
-#if APR_HAS_THREADS
 /**
  * @file apr_queue.h
  * @brief Thread Safe FIFO bounded queue
@@ -29,6 +28,8 @@
 #include "apu.h"
 #include "apr_errno.h"
 #include "apr_pools.h"
+
+#if APR_HAS_THREADS
 
 #ifdef __cplusplus
 extern "C" {