Leon Scroggins III | f59fb0e | 2014-05-28 15:19:42 -0400 | [diff] [blame] | 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 |
Derek Sollenberger | 2eb3b4d | 2016-01-11 14:41:40 -0500 | [diff] [blame] | 7 | #define JSON_AUTOLINK_H_INCLUDED |
Leon Scroggins III | f59fb0e | 2014-05-28 15:19:42 -0400 | [diff] [blame] | 8 | |
Derek Sollenberger | 2eb3b4d | 2016-01-11 14:41:40 -0500 | [diff] [blame] | 9 | #include "config.h" |
Leon Scroggins III | f59fb0e | 2014-05-28 15:19:42 -0400 | [diff] [blame] | 10 | |
Derek Sollenberger | 2eb3b4d | 2016-01-11 14:41:40 -0500 | [diff] [blame] | 11 | #ifdef JSON_IN_CPPTL |
| 12 | #include <cpptl/cpptl_autolink.h> |
| 13 | #endif |
Leon Scroggins III | f59fb0e | 2014-05-28 15:19:42 -0400 | [diff] [blame] | 14 | |
Derek Sollenberger | 2eb3b4d | 2016-01-11 14:41:40 -0500 | [diff] [blame] | 15 | #if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \ |
| 16 | !defined(JSON_IN_CPPTL) |
| 17 | #define CPPTL_AUTOLINK_NAME "json" |
| 18 | #undef CPPTL_AUTOLINK_DLL |
| 19 | #ifdef JSON_DLL |
| 20 | #define CPPTL_AUTOLINK_DLL |
| 21 | #endif |
| 22 | #include "autolink.h" |
| 23 | #endif |
Leon Scroggins III | f59fb0e | 2014-05-28 15:19:42 -0400 | [diff] [blame] | 24 | |
| 25 | #endif // JSON_AUTOLINK_H_INCLUDED |