ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
430 B

  1. #ifndef CPPCMS_ASIO_CONF_H
  2. #define CPPCMS_ASIO_CONF_H
  3. #include "defs.h"
  4. #if defined(CPPCMS_WIN32)
  5. # ifndef _WIN32_WINNT
  6. # define _WIN32_WINNT 0x0501
  7. # endif
  8. #endif
  9. #if defined(CPPCMS_CYGWIN)
  10. # define __USE_W32_SOCKETS 1
  11. #endif
  12. #include "config.h"
  13. #ifdef CPPCMS_USE_EXTERNAL_BOOST
  14. # include <boost/asio.hpp>
  15. #else // Internal Boost
  16. # include <cppcms_boost/asio.hpp>
  17. namespace boost = cppcms_boost;
  18. #endif
  19. #endif