Maipa's Standard Library Extension
1.5.6
mstd
Loading...
Searching...
No Matches
terminal_libs.hpp
1
/*
2
* mstd - Maipa's Standard Library
3
*
4
* Licensed under the BSD 3-Clause License with Attribution Requirement.
5
* See the LICENSE file for details: https://github.com/MAIPA01/mstd/blob/main/LICENSE
6
*
7
* Copyright (c) 2025, Patryk Antosik (MAIPA01)
8
*/
9
10
#
pragma
once
11
#
ifndef
_MSTD_TERMINAL_LIBS_HPP_
12
#
define
_MSTD_TERMINAL_LIBS_HPP_
13
14
#
include
<
mstd
/
config
.
hpp
>
15
16
#
if
!
_MSTD_HAS_CXX17
17
_MSTD_WARNING(
"this is only available for c++17 and greater!"
);
18
#
else
19
20
#
include
<
algorithm
>
21
#
include
<
cstdlib
>
22
#
include
<
iostream
>
23
24
#
ifdef
_WIN32
25
#
define
VC_EXTRALEAN
26
#
define
NOMINMAX
27
#
define
WIN32_LEAN_AND_MEAN
28
29
#
include
<
Windows
.
h
>
30
31
#
undef
VC_EXTRALEAN
32
#
undef
NOMINMAX
33
#
undef
WIN32_LEAN_AND_MEAN
34
#
elif
defined
(
__linux__
)
||
defined
(
__APPLE__
)
35
#
include
<
sys
/
ioctl
.
h
>
36
#
endif
// Windows/Linux
37
38
#
endif
39
#
endif
_MSTD_HAS_CXX17
#define _MSTD_HAS_CXX17
Definition
config.hpp:45
mstd
include
terminal
mstd
terminal_libs.hpp
Generated by
1.16.1