conflicts.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. // ArduinoJson - https://arduinojson.org
  2. // Copyright © 2014-2025, Benoit BLANCHON
  3. // MIT License
  4. // Include any header that might use the conflicting macros
  5. #include <cmath>
  6. #include <iostream>
  7. #include <string>
  8. // All cores
  9. #define bit()
  10. #define constrain()
  11. #define DEFAULT
  12. #define DISABLED
  13. #define HIGH
  14. #define INPUT
  15. #define LOW
  16. #define max()
  17. #define min()
  18. #define OUTPUT
  19. #define round()
  20. #define sq()
  21. #define word()
  22. #define bitRead()
  23. #define bitSet()
  24. #define bitClear()
  25. #define bitWrite()
  26. #define interrupts()
  27. #define lowByte()
  28. #define highByte()
  29. #define DEC
  30. #define HEX
  31. #define OCT
  32. #define BIN
  33. #define cbi()
  34. #define sbi()
  35. // ESP8266
  36. #define _max()
  37. #define _min()
  38. // Realtek Ameba
  39. #define isdigit(c) (((c) >= '0') && ((c) <= '9'))
  40. #define isprint(c)
  41. #define isxdigit(c)
  42. #define isspace(c)
  43. #define isupper(c)
  44. #define islower(c)
  45. #define isalpha(c)
  46. // issue #839
  47. #define BLOCKSIZE
  48. #define CAPACITY
  49. // issue #1905
  50. #define _current
  51. // issue #1914
  52. #define V7 7
  53. // STM32, Mbed, Particle
  54. #define A0 16
  55. #define A1 17
  56. #define A2 18
  57. // catch.hpp mutes several warnings, this file also allows to detect them
  58. #include "ArduinoJson.h"