Skip to content

Instantly share code, notes, and snippets.

@SamuelMarks
Last active July 10, 2021 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamuelMarks/ba9a790cd00e78ed71bec087ae496cb7 to your computer and use it in GitHub Desktop.
Save SamuelMarks/ba9a790cd00e78ed71bec087ae496cb7 to your computer and use it in GitHub Desktop.
#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 */
#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