summaryrefslogtreecommitdiff
path: root/include/lib/ArduinoJson/Polyfills/assert.hpp
blob: 1030ec60e449352a907cd9042d656b09388e1982 (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 <ArduinoJson/Configuration.hpp>

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