01-move-include-from-namespace.patch 650 B

1234567891011121314151617181920
  1. --- contrib/restricted/aws/aws-crt-cpp/include/aws/crt/external/cJSON.h (f680f339877c3c3539c85345ee15f023012893c9)
  2. +++ contrib/restricted/aws/aws-crt-cpp/include/aws/crt/external/cJSON.h (working tree)
  3. @@ -44,8 +44,6 @@
  4. #ifndef cJSON__h
  5. #define cJSON__h
  6. -namespace Aws {
  7. -
  8. #if !defined(__WINDOWS__) && (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32))
  9. #define __WINDOWS__
  10. #endif
  11. @@ -117,6 +115,8 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
  12. #define cJSON_IsReference 256
  13. #define cJSON_StringIsConst 512
  14. +namespace Aws {
  15. +
  16. /* The cJSON structure: */
  17. typedef struct cJSON
  18. {