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.
 
 
 
 
 
 

20 lines
415 B

  1. #ifndef CPPCMS_CSTDINT_H
  2. #define CPPCMS_CSTDINT_H
  3. #include "config.h"
  4. #if defined(HAVE_STDINT_H)
  5. #include <stdint.h>
  6. #elif defined(HAVE_INTTYPES_H)
  7. #include <inttypes.h>
  8. #else
  9. // Generally only for broken MSVC
  10. typedef unsigned short uint16_t;
  11. typedef short int16_t;
  12. typedef unsigned int uint32_t;
  13. typedef int int32_t;
  14. typedef unsigned __int64 uint64_t;
  15. typedef __int64 int64_t;
  16. #endif
  17. #endif // CPPCMS_CSTDINT_H