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