summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/core/config.hpp
blob: 7e74c810079eeafa43252992cb7bbb31e862484f (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
/*
 * File: core/config.hpp
 * Purpose: Config file of the OCL.
 * Author: Amlal El Mahrouss (amlal@nekernel.org)
 * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
 */

#pragma once

#include <boost/config.hpp>
#include <boost/core/nvp.hpp>
#include <boost/core/demangle.hpp>
#include <boost/core/null_deleter.hpp>
#include <boost/container/allocator.hpp>
#include <boost/assert.hpp>

#include <cstddef>
#include <cassert>
#include <utility>
#include <string>
#include <vector>
#include <cstdint>
#include <sys/types.h>
#include <unistd.h>

#ifdef __cplusplus
/// DLL/Dylib/So specific macro.
#define OCL_EXPORT_DECL extern "C" BOOST_SYMBOL_EXPORT
#else
#define OCL_EXPORT_DECL
#endif

namespace ocl
{
#ifdef OCL_USE_UTF8
	using char_type = char8_t;
#else
	using char_type = char;
#endif
} // namespace ocl