Permalink
Browse files

Rename file containing backported function

Signed-off-by: Michał Pokrywka <michal.pokrywka@gmail.com>
  • Loading branch information...
1 parent 3d19606 commit cc8954b6458f91d574ed52974b73dbc6f787a4c6 @mpokrywka mpokrywka committed Feb 28, 2011
Showing with 4 additions and 3 deletions.
  1. +3 −0 apr_shm_remove.h → ap_backports.h
  2. +1 −3 mod_upload_progress.c
@@ -8,6 +8,7 @@
*/
/* BEGIN OF PATCH ---------------------------------------------------------- */
/* apr version 0.x not support apr_shm_remove, I have to copy it from apr version 1.x */
+#if (APR_MAJOR_VERSION < 1)
#if APR_HAS_SHARED_MEMORY
@@ -102,3 +103,5 @@ static apr_status_t modup_backport_apr_shm_remove(const char *filename, apr_pool
/* END OF PATCH ------------------------------------------------------------ */
#endif
+/* (APR_MAJOR_VERSION < 1) */
+#endif
View
@@ -18,9 +18,7 @@
#include <unistd.h>
#endif
-#if (APR_MAJOR_VERSION < 1)
-#include "apr_shm_remove.h"
-#endif
+#include "ap_backports.h"
#ifndef PROGRESS_ID
# define PROGRESS_ID "X-Progress-ID"

0 comments on commit cc8954b

Please sign in to comment.