summaryrefslogtreecommitdiff
path: root/include/lib/ArduinoJson/Polyfills/assert.hpp
blob: 21fe3c5ad07e20d42005985119ddc279fcc46b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ArduinoJson - https://arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License

#pragma once

#include "lib/ArduinoJson/Configuration.hpp"

#if ARDUINOJSON_DEBUG
#include <assert.h>
#define ARDUINOJSON_ASSERT(X) assert(X)
#else
#define ARDUINOJSON_ASSERT(X) ((void)0)
#endif