autolink.h 686 B

12345678910111213141516171819202122232425
  1. // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
  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. #ifndef JSON_AUTOLINK_H_INCLUDED
  6. #define JSON_AUTOLINK_H_INCLUDED
  7. #include "config.h"
  8. #ifdef JSON_IN_CPPTL
  9. #include <cpptl/cpptl_autolink.h>
  10. #endif
  11. #if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \
  12. !defined(JSON_IN_CPPTL)
  13. #define CPPTL_AUTOLINK_NAME "json"
  14. #undef CPPTL_AUTOLINK_DLL
  15. #ifdef JSON_DLL
  16. #define CPPTL_AUTOLINK_DLL
  17. #endif
  18. #include "autolink.h"
  19. #endif
  20. #endif // JSON_AUTOLINK_H_INCLUDED