summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar shankar2011-08-30 12:42:33 +0000
committerGravatar shankar2011-08-30 12:42:33 +0000
commit03df47b543391b38cbe3483b38f37f08de25c441 (patch)
tree402d1a9aa468c5e9537028147fee1accb4f485ad /src
parent1a9deff1f0c469acd78e44ac673a34f5fc13001c (diff)
downloadaxis2c-03df47b543391b38cbe3483b38f37f08de25c441.tar.gz
axis2c-03df47b543391b38cbe3483b38f37f08de25c441.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/http/sender/ntlm/heimdal/heimdal_ntlm_wrapper.c3
-rw-r--r--src/core/transport/http/sender/ntlm/ntlm.c3
2 files changed, 5 insertions, 1 deletions
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 <axis2_ntlm.h>
#include <axutil_utils_defines.h>
@@ -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_ntlm.h>
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