diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:29:37 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:29:37 +0200 |
commit | bbfe1182098b2451b1f457b37c2b53fe89e537e8 (patch) | |
tree | c18fbfdca7de7957ff5e66c448287a66250c9daf /tests/libtest/testutil.h | |
parent | e5c14674f0cd50d1dfc71e73894753f7bffa91ae (diff) | |
download | curl-bbfe1182098b2451b1f457b37c2b53fe89e537e8.tar.gz |
libtests: 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/libtest/testutil.h')
-rw-r--r-- | tests/libtest/testutil.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libtest/testutil.h b/tests/libtest/testutil.h index 6a322e3cb..455b5d53f 100644 --- a/tests/libtest/testutil.h +++ b/tests/libtest/testutil.h @@ -1,5 +1,5 @@ -#ifndef __LIBTEST_TESTUTIL_H -#define __LIBTEST_TESTUTIL_H +#ifndef HEADER_CURL_LIBTEST_TESTUTIL_H +#define HEADER_CURL_LIBTEST_TESTUTIL_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. + * 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 @@ -21,9 +21,9 @@ * KIND, either express or implied. * ***************************************************************************/ - #include "setup.h" +#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ struct timeval tutil_tvnow(void); @@ -45,5 +45,5 @@ double tutil_tvdiff_secs(struct timeval t1, struct timeval t2); long tutil_tvlong(struct timeval t1); -#endif /* __LIBTEST_TESTUTIL_H */ +#endif /* HEADER_CURL_LIBTEST_TESTUTIL_H */ |