From 1af75691ccba36538926068db600f682e04e43fe Mon Sep 17 00:00:00 2001 From: ykiryanov Date: Fri, 20 Feb 2004 16:27:52 +0000 Subject: [PATCH] if'd LDAP code to enable non-LDAP builds --- include/ptclib/pils.h | 5 +++++ include/ptclib/pldap.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/include/ptclib/pils.h b/include/ptclib/pils.h index 0945cd64..e028e2d9 100755 --- a/include/ptclib/pils.h +++ b/include/ptclib/pils.h @@ -24,6 +24,9 @@ * Contributor(s): ______________________________________. * * $Log$ + * Revision 1.4 2004/02/20 16:27:52 ykiryanov + * if'd LDAP code to enable non-LDAP builds + * * Revision 1.3 2003/04/11 00:07:46 robertj * More for Microsoft IP address specification wierdness (registration side). * @@ -43,6 +46,7 @@ #pragma interface #endif +#if P_LDAP #include #include @@ -137,6 +141,7 @@ class PILSSession : public PLDAPSession ); }; +#endif // P_LDAP #endif // _PILS_H diff --git a/include/ptclib/pldap.h b/include/ptclib/pldap.h index fbf63669..413cc3ae 100755 --- a/include/ptclib/pldap.h +++ b/include/ptclib/pldap.h @@ -24,6 +24,9 @@ * Contributor(s): ______________________________________. * * $Log$ + * Revision 1.8 2004/02/20 16:28:27 ykiryanov + * if'd LDAP code to enable non-LDAP builds + * * Revision 1.7 2003/06/05 23:17:07 rjongbloed * Added functions to get and set LDAP operation timeout. * @@ -55,6 +58,7 @@ #pragma interface #endif +#if P_LDAP #include @@ -528,6 +532,7 @@ class PLDAPStructBase : public PObject { #define PLDAP_STRUCT_END() \ }; +#endif // P_LDAP #endif // _PLDAP_H -- 2.11.4.GIT