summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-07-23 17:19:55 +0000
committerStefan Fritsch <sf@apache.org>2011-07-23 17:19:55 +0000
commit6e1307b58e3520fdbc7b16d1c9fd019a6365668f (patch)
tree8ffe59c4c60e94d4eae03c36bb7599ae3fffabec
parent33bbd1f6da68935a34af1f9081cbb6963290764f (diff)
downloadhttpd-6e1307b58e3520fdbc7b16d1c9fd019a6365668f.tar.gz
Revert r1129891:
LDAP_DECLARE Header adjustment for nw/win32 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/revert-ap-ldap@1150168 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/ap_ldap.hnw23
-rw-r--r--include/ap_ldap.hw23
-rw-r--r--modules/ldap/mod_ldap.dsp44
3 files changed, 2 insertions, 88 deletions
diff --git a/include/ap_ldap.hnw b/include/ap_ldap.hnw
index 151b003170..52aac34b45 100644
--- a/include/ap_ldap.hnw
+++ b/include/ap_ldap.hnw
@@ -19,7 +19,7 @@
*/
/**
* @file ap_ldap.h
- * @brief LDAP
+ * @brief MODLDAP
*/
#ifndef AP_LDAP_H
#define AP_LDAP_H
@@ -30,27 +30,6 @@
* @{
*/
-/* Create a set of LDAP_DECLARE macros with appropriate export
- * and import tags for the platform
- */
-#if !defined(WIN32)
-#define LDAP_DECLARE(type) type
-#define LDAP_DECLARE_NONSTD(type) type
-#define LDAP_DECLARE_DATA
-#elif defined(LDAP_DECLARE_STATIC)
-#define LDAP_DECLARE(type) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) type
-#define LDAP_DECLARE_DATA
-#elif defined(LDAP_DECLARE_EXPORT)
-#define LDAP_DECLARE(type) __declspec(dllexport) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) __declspec(dllexport) type
-#define LDAP_DECLARE_DATA __declspec(dllexport)
-#else
-#define LDAP_DECLARE(type) __declspec(dllimport) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) __declspec(dllimport) type
-#define LDAP_DECLARE_DATA __declspec(dllimport)
-#endif
-
/* this will be defined if LDAP support was compiled into apr-util */
#define AP_HAS_LDAP 1
diff --git a/include/ap_ldap.hw b/include/ap_ldap.hw
index 36e21abd86..097ba472a7 100644
--- a/include/ap_ldap.hw
+++ b/include/ap_ldap.hw
@@ -30,29 +30,8 @@
* @{
*/
-/* Create a set of LDAP_DECLARE macros with appropriate export
- * and import tags for the platform
- */
-#if !defined(WIN32)
-#define LDAP_DECLARE(type) type
-#define LDAP_DECLARE_NONSTD(type) type
-#define LDAP_DECLARE_DATA
-#elif defined(LDAP_DECLARE_STATIC)
-#define LDAP_DECLARE(type) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) type
-#define LDAP_DECLARE_DATA
-#elif defined(LDAP_DECLARE_EXPORT)
-#define LDAP_DECLARE(type) __declspec(dllexport) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) __declspec(dllexport) type
-#define LDAP_DECLARE_DATA __declspec(dllexport)
-#else
-#define LDAP_DECLARE(type) __declspec(dllimport) type __stdcall
-#define LDAP_DECLARE_NONSTD(type) __declspec(dllimport) type
-#define LDAP_DECLARE_DATA __declspec(dllimport)
-#endif
-
/* this will be defined if LDAP support was compiled into apr-util */
-#define AP_HAS_LDAP 1
+#define AP_HAS_LDAP 0
/* identify the LDAP toolkit used */
#define AP_HAS_NETSCAPE_LDAPSDK 0
diff --git a/modules/ldap/mod_ldap.dsp b/modules/ldap/mod_ldap.dsp
index 7918f2cd36..db087575c1 100644
--- a/modules/ldap/mod_ldap.dsp
+++ b/modules/ldap/mod_ldap.dsp
@@ -100,50 +100,6 @@ PostBuild_Cmds=if exist $(TargetPath).manifest mt.exe -manifest $(TargetPath).ma
# Name "mod_ldap - Win32 Release"
# Name "mod_ldap - Win32 Debug"
# Begin Source File
-SOURCE=.\include\ap_ldap.hw
-
-!IF "$(CFG)" == "libhttpd - Win32 Release"
-
-# PROP Ignore_Default_Tool 1
-# Begin Custom Build - Creating include/ap_ldap.h
-InputPath=.\include\ap_ldap.hw
-
-".\include\ap_ldap.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- type .\include\ap_ldap.hw > .\include\ap_ldap.h
-
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-# Begin Custom Build - Creating include/ap_ldap.h
-InputPath=.\include\ap_ldap.hw
-
-".\include\ap_ldap.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- type .\include\ap_ldap.hw > .\include\ap_ldap.h
-
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\ap_ldap_init.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\ap_ldap_option.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\ap_ldap_rebind.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\ap_ldap_url.c
-# End Source File
-# Begin Source File
SOURCE=.\util_ldap.c
# End Source File