AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
Platform.hpp
Go to the documentation of this file.
1/*
2Copyright (C) 2014,2019,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
20#ifndef AEONGUI_PLATFORM_H
21#define AEONGUI_PLATFORM_H
22#ifndef DLL
23#ifdef WIN32
24#ifdef AeonGUI_EXPORTS
25#define DLL __declspec( dllexport )
26#else
27#define DLL __declspec( dllimport )
28#endif
29#else
30#define DLL
31#endif
32#endif
33#endif
34
41#ifdef _MSC_VER
42#define PRIVATE_TEMPLATE_MEMBERS_START \
43_Pragma("warning(push)") \
44_Pragma("warning(disable: 4251)")
45#define PRIVATE_TEMPLATE_MEMBERS_END \
46_Pragma("warning(pop)")
47#else
48#define PRIVATE_TEMPLATE_MEMBERS_START
49#define PRIVATE_TEMPLATE_MEMBERS_END
50#endif