Last active
July 10, 2021 12:40
-
-
Save SamuelMarks/ba9a790cd00e78ed71bec087ae496cb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef VERSIONS_EXPORT_H | |
#define VERSIONS_EXPORT_H | |
#ifdef VERSIONS_STATIC_DEFINE | |
# define VERSIONS_EXPORT | |
# define VERSIONS_NO_EXPORT | |
#else | |
# ifndef VERSIONS_EXPORT | |
# ifdef versions_EXPORTS | |
/* We are building this library */ | |
# define VERSIONS_EXPORT __attribute__((visibility("default"))) | |
# else | |
/* We are using this library */ | |
# define VERSIONS_EXPORT __attribute__((visibility("default"))) | |
# endif | |
# endif | |
# ifndef VERSIONS_NO_EXPORT | |
# define VERSIONS_NO_EXPORT __attribute__((visibility("hidden"))) | |
# endif | |
#endif | |
#ifndef VERSIONS_DEPRECATED | |
# define VERSIONS_DEPRECATED __attribute__ ((__deprecated__)) | |
#endif | |
#ifndef VERSIONS_DEPRECATED_EXPORT | |
# define VERSIONS_DEPRECATED_EXPORT VERSIONS_EXPORT VERSIONS_DEPRECATED | |
#endif | |
#ifndef VERSIONS_DEPRECATED_NO_EXPORT | |
# define VERSIONS_DEPRECATED_NO_EXPORT VERSIONS_NO_EXPORT VERSIONS_DEPRECATED | |
#endif | |
#if 0 /* DEFINE_NO_DEPRECATED */ | |
# ifndef VERSIONS_NO_DEPRECATED | |
# define VERSIONS_NO_DEPRECATED | |
# endif | |
#endif | |
#endif /* VERSIONS_EXPORT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef VERSIONS_EXPORT_H | |
#define VERSIONS_EXPORT_H | |
#ifdef VERSIONS_STATIC_DEFINE | |
# define VERSIONS_EXPORT | |
# define VERSIONS_NO_EXPORT | |
#else | |
# ifndef VERSIONS_EXPORT | |
# ifdef versions_EXPORTS | |
/* We are building this library */ | |
# define VERSIONS_EXPORT __declspec(dllexport) | |
# else | |
/* We are using this library */ | |
# define VERSIONS_EXPORT __declspec(dllimport) | |
# endif | |
# endif | |
# ifndef VERSIONS_NO_EXPORT | |
# define VERSIONS_NO_EXPORT | |
# endif | |
#endif | |
#ifndef VERSIONS_DEPRECATED | |
# define VERSIONS_DEPRECATED __declspec(deprecated) | |
#endif | |
#ifndef VERSIONS_DEPRECATED_EXPORT | |
# define VERSIONS_DEPRECATED_EXPORT VERSIONS_EXPORT VERSIONS_DEPRECATED | |
#endif | |
#ifndef VERSIONS_DEPRECATED_NO_EXPORT | |
# define VERSIONS_DEPRECATED_NO_EXPORT VERSIONS_NO_EXPORT VERSIONS_DEPRECATED | |
#endif | |
#if 0 /* DEFINE_NO_DEPRECATED */ | |
# ifndef VERSIONS_NO_DEPRECATED | |
# define VERSIONS_NO_DEPRECATED | |
# endif | |
#endif | |
#endif /* VERSIONS_EXPORT_H */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment