summaryrefslogtreecommitdiffstats
path: root/RedfishPkg/Library/JsonLib/jansson_config.h
blob: 2cde2cf0e0de34c7c6f3194633209362fd054778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/** @file This is the configuration file for building jansson library.

 (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>

    SPDX-License-Identifier: BSD-2-Clause-Patent
 **/

#ifndef JANSSON_CONFIG_H_
#define JANSSON_CONFIG_H_

///
/// We don't support inline JSON on edk2
///
#define JSON_INLINE

///
/// We support long long on edk2
///
#define JSON_INTEGER_IS_LONG_LONG  1

///
/// We don't support locale on edk2
///
#define JSON_HAVE_LOCALECONV  0

///
/// We don't support atomic builtins on edk2
///
#define JSON_HAVE_ATOMIC_BUILTINS  0

///
/// We don't support sync builtins on edk2
///
#define JSON_HAVE_SYNC_BUILTINS  0

///
/// Mzximum deepth is set to 2048
///
#define JSON_PARSER_MAX_DEPTH  2048

#endif