aboutsummaryrefslogtreecommitdiff
path: root/tests/server/fake_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-10 17:32:06 +0200
committerYang Tse <yangsita@gmail.com>2012-04-10 17:32:06 +0200
commit4d3fb91fb45ca404322d5146f43cae93d918a9a8 (patch)
treec08f1644353f5d2b0966157ab36d7df167123993 /tests/server/fake_ntlm.c
parentbbfe1182098b2451b1f457b37c2b53fe89e537e8 (diff)
test servers: build adjustment
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
Diffstat (limited to 'tests/server/fake_ntlm.c')
-rw-r--r--tests/server/fake_ntlm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/server/fake_ntlm.c b/tests/server/fake_ntlm.c
index 9bed5963d..4af334d6e 100644
--- a/tests/server/fake_ntlm.c
+++ b/tests/server/fake_ntlm.c
@@ -5,7 +5,8 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Mandy Wu, <mandy.wu@intel.com>
+ * Copyright (C) 2010, Mandy Wu, <mandy.wu@intel.com>
+ * Copyright (C) 2011 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -19,6 +20,7 @@
* KIND, either express or implied.
*
***************************************************************************/
+#include "server_setup.h"
/*
* This is a fake ntlm_auth, which is used for testing NTLM single-sign-on.
@@ -27,10 +29,6 @@
* responses with a pre-written string saved in test case test2005.
*/
-#define CURL_NO_OLDIES
-
-#include "setup.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif