From 03df47b543391b38cbe3483b38f37f08de25c441 Mon Sep 17 00:00:00 2001 From: shankar Date: Tue, 30 Aug 2011 12:42:33 +0000 Subject: Fixing compilation issue in visual studio project git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1163190 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c | 3 ++- src/core/transport/http/sender/ntlm/ntlm.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/core/transport/http/sender') diff --git a/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c b/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c index e4c7000..08dbc69 100644 --- a/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c +++ b/src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c @@ -14,6 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifdef AXIS2_NTLM_ENABLED #include #include @@ -380,4 +381,4 @@ heimdal_ntlm_wrapper_create_type3_message( return AXIS2_SUCCESS; } - +#endif diff --git a/src/core/transport/http/sender/ntlm/ntlm.c b/src/core/transport/http/sender/ntlm/ntlm.c index 383809b..e17c6c9 100644 --- a/src/core/transport/http/sender/ntlm/ntlm.c +++ b/src/core/transport/http/sender/ntlm/ntlm.c @@ -15,6 +15,8 @@ * limitations under the License. */ +#ifdef AXIS2_NTLM_ENABLED + #include AXIS2_EXTERN void AXIS2_CALL @@ -56,3 +58,4 @@ axis2_ntlm_auth_create_type3_message( uname, passwd, domain, workstation); } +#endif \ No newline at end of file -- cgit v1.1-32-gdbae