libcosmos
Linux C++ System Programming Library
Loading...
Searching...
No Matches
dso_export.h
1
#pragma once
2
3
/*
4
* Helper macro to control visibility of public APIs of the cosmos shared
5
* library.
6
* The object files are compiled with -fvisibility=hidden, thus each public
7
* interface needs to be explicitly made visible again.
8
*/
9
#if defined(COSMOS_EXPORT)
10
# define COSMOS_API __attribute__ ((visibility ("default")))
11
#else
12
# define COSMOS_API
13
#endif
include
dso_export.h
Generated by
1.12.0