General Utility Library for C++17
26.5.0
include
gul17
internal.h
Go to the documentation of this file.
1
26
#ifndef GUL17_INTERNAL_H_
27
#define GUL17_INTERNAL_H_
28
29
// For old Visual C++ compilers, including <ciso646> enables the alternative operator
30
// representations "and", "or", and "not".
31
#if defined(_MSC_VER)
32
# include <ciso646>
33
#endif
34
35
// The GUL_EXPORT macro is used to export certain symbols to the generated library.
36
// How the symbols have to me marked is different between compilers.
37
#if defined(_MSC_VER)
38
# if defined(GUL_COMPILING_SHARED_LIB)
39
# define GUL_EXPORT __declspec(dllexport)
40
# elif defined(GUL_USING_STATIC_LIB_OR_OBJECTS)
41
# define GUL_EXPORT
42
# else
43
# define GUL_EXPORT __declspec(dllimport)
44
# endif
45
#elif defined(__GNUC__)
46
# define GUL_EXPORT __attribute__ ((visibility ("default")))
47
#else
48
# define GUL_EXPORT
49
#endif
50
51
#endif
52
53
// vi:ts=4:sw=4:et:sts=4
General Utility Library for C++17 ·
Legal Disclosure
·
Privacy Policy