autolink.h revision f59fb0e83fd0a4b41700d3f5eebdc8d21b173c2e
1// Copyright 2007-2010 Baptiste Lepilleur
2// Distributed under MIT license, or public domain if desired and
3// recognized in your jurisdiction.
4// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5
6#ifndef JSON_AUTOLINK_H_INCLUDED
7# define JSON_AUTOLINK_H_INCLUDED
8
9# include "config.h"
10
11# ifdef JSON_IN_CPPTL
12#  include <cpptl/cpptl_autolink.h>
13# endif
14
15# if !defined(JSON_NO_AUTOLINK)  &&  !defined(JSON_DLL_BUILD)  &&  !defined(JSON_IN_CPPTL)
16#  define CPPTL_AUTOLINK_NAME "json"
17#  undef CPPTL_AUTOLINK_DLL
18#  ifdef JSON_DLL
19#   define CPPTL_AUTOLINK_DLL
20#  endif
21#  include "autolink.h"
22# endif
23
24#endif // JSON_AUTOLINK_H_INCLUDED
25