ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
platformincludes.hpp
Go to the documentation of this file.
1/** ************************************************************************************************
2 * \file
3 * This header file is part of the \aliblong. It does not belong to an \alibmod and is
4 * included in any \alibdist.
5 *
6 * \emoji :copyright: 2013-2024 A-Worx GmbH, Germany.
7 * Published under \ref mainpage_license "Boost Software License".
8 *
9 * \note
10 * To reduce complexity, this header is not shown in inclusion graphs of this documentation.
11 **************************************************************************************************/
12#ifndef HPP_ALIB_LANG_PLATFORM_INCLUDES
13#define HPP_ALIB_LANG_PLATFORM_INCLUDES 1
14
15#if !defined(HPP_ALIB) && !defined(ALIB_DOX)
16# include "alib/alib.hpp"
17#endif
18
19// #################################################################################################
20// basic system headers
21// #################################################################################################
22
23// Windows specific
24#if defined (_WIN32)
25
26 //! @cond NO_DOX
27 // Include windows.h. but exclude rarely-used stuff from Windows headers. If these things are
28 // needed by the software that incorporates ALib, then windows has to be
29 // included before this header file is.
30# if !defined (_INC_WINDOWS)
31# define WIN32_LEAN_AND_MEAN
32# define NOGDI
33# define NOSERVICE
34# define NOMCX
35# define NOIME
36# define NOSOUND
37# define NOCOMM
38# define NOKANJI
39# define NORPC
40# define NOPROXYSTUB
41# define NOIMAGE
42# define NOTAPE
43# include <windows.h>
44# endif
45 //! @endcond
46
47# if !defined (_STDINT)
48# include <stdint.h>
49# endif
50# if ALIB_DEBUG
51# include <assert.h>
52# endif
53#endif
54
55
56#endif // HPP_ALIB_LANG_PLATFORM_INCLUDES