From a6d5ef25f7ba4cb7e869774245caad50bfa7d262 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 11 Jul 2002 19:57:02 +0000 Subject: [PATCH] Try this AGAIN. Move ap_regkey.h to include/ and assure that this time, it contains defined(WIN32)||defined(DOXYGEN) requirements to prevent the other platform exports from barfing. Please ack if this works for you. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96019 13f79535-47bb-0310-9956-ffa450edef68 --- {os/win32 => include}/ap_regkey.h | 8 +++++--- libhttpd.dsp | 33 ++++--------------------------- 2 files changed, 9 insertions(+), 32 deletions(-) rename {os/win32 => include}/ap_regkey.h (99%) diff --git a/os/win32/ap_regkey.h b/include/ap_regkey.h similarity index 99% rename from os/win32/ap_regkey.h rename to include/ap_regkey.h index 8f47e3f471..4b9c7bc52a 100644 --- a/os/win32/ap_regkey.h +++ b/include/ap_regkey.h @@ -59,12 +59,12 @@ #ifndef AP_REGKEY_H #define AP_REGKEY_H +#if defined(WIN32) || defined(DOXYGEN) + #include "apr.h" #include "apr_pools.h" #include "ap_config.h" /* Just for AP_DECLARE */ -#if defined(WIN32) || defined(DOXYGEN) - #ifdef __cplusplus extern "C" { #endif @@ -258,5 +258,7 @@ AP_DECLARE(apr_status_t) ap_regkey_value_remove(const ap_regkey_t *key, #ifdef __cplusplus } #endif -#endif /* WIN32 || DOXYGEN */ + +#endif /* def WIN32 || def DOXYGEN */ + #endif /* AP_REGKEY_H */ diff --git a/libhttpd.dsp b/libhttpd.dsp index f450b18a48..8495b41572 100644 --- a/libhttpd.dsp +++ b/libhttpd.dsp @@ -100,6 +100,10 @@ SOURCE=.\include\ap_mmn.h # End Source File # Begin Source File +SOURCE=.\include\ap_regkey.h +# End Source File +# Begin Source File + SOURCE=.\include\ap_release.h # End Source File # Begin Source File @@ -192,35 +196,6 @@ SOURCE=.\server\vhost.c # PROP Default_Filter "" # Begin Source File -SOURCE=.\os\win32\ap_regkey.h - -!IF "$(CFG)" == "libhttpd - Win32 Release" - -# PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/ap_regkey.h -InputPath=.\os\win32\ap_regkey.h - -".\include\ap_regkey.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\os\win32\ap_regkey.h > .\include\ap_regkey.h - -# End Custom Build - -!ELSEIF "$(CFG)" == "libhttpd - Win32 Debug" - -# PROP Ignore_Default_Tool 1 -# Begin Custom Build - Creating include/ap_regkey.h -InputPath=.\os\win32\ap_regkey.h - -".\include\ap_regkey.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - type .\os\win32\ap_regkey.h > .\include\ap_regkey.h - -# End Custom Build - -!ENDIF - -# End Source File -# Begin Source File - SOURCE=.\server\gen_test_char.exe USERDEP__GEN_T=".\include\os.h" -- 2.40.0