diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:32:06 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:32:06 +0200 |
commit | 4d3fb91fb45ca404322d5146f43cae93d918a9a8 (patch) | |
tree | c08f1644353f5d2b0966157ab36d7df167123993 /tests/server/server_setup.h | |
parent | bbfe1182098b2451b1f457b37c2b53fe89e537e8 (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/server_setup.h')
-rw-r--r-- | tests/server/server_setup.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/server/server_setup.h b/tests/server/server_setup.h new file mode 100644 index 000000000..4d8ae9e8b --- /dev/null +++ b/tests/server/server_setup.h @@ -0,0 +1,31 @@ +#ifndef HEADER_CURL_SERVER_SETUP_H +#define HEADER_CURL_SERVER_SETUP_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 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 + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ + +#define CURL_NO_OLDIES + +#include "setup.h" /* portability help from the lib directory */ + +#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ + +#endif /* HEADER_CURL_SERVER_SETUP_H */ |