autolink.h 664 B

123456789101112131415161718192021222324
  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. #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) && !defined(JSON_IN_CPPTL)
  12. # define CPPTL_AUTOLINK_NAME "json"
  13. # undef CPPTL_AUTOLINK_DLL
  14. # ifdef JSON_DLL
  15. # define CPPTL_AUTOLINK_DLL
  16. # endif
  17. # include "autolink.h"
  18. # endif
  19. #endif // JSON_AUTOLINK_H_INCLUDED