Skip to content

Commit

Permalink
Added sundials_export.h
Browse files Browse the repository at this point in the history
Added sundials_export.h from /usr/local/include/sundials to inst/include/sundials
  • Loading branch information
sn248 committed Jun 10, 2024
1 parent d3b09cd commit 6322f42
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions inst/include/sundials/sundials_export.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

#ifndef SUNDIALS_EXPORT_H
#define SUNDIALS_EXPORT_H

#ifdef SUNDIALS_STATIC_DEFINE
# define SUNDIALS_EXPORT
# define SUNDIALS_NO_EXPORT
#else
# ifndef SUNDIALS_EXPORT
# ifdef sundials_core_EXPORTS
/* We are building this library */
# define SUNDIALS_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define SUNDIALS_EXPORT __attribute__((visibility("default")))
# endif
# endif

# ifndef SUNDIALS_NO_EXPORT
# define SUNDIALS_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif

#ifndef SUNDIALS_DEPRECATED
# define SUNDIALS_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef SUNDIALS_DEPRECATED_EXPORT
# define SUNDIALS_DEPRECATED_EXPORT SUNDIALS_EXPORT SUNDIALS_DEPRECATED
#endif

#ifndef SUNDIALS_DEPRECATED_NO_EXPORT
# define SUNDIALS_DEPRECATED_NO_EXPORT SUNDIALS_NO_EXPORT SUNDIALS_DEPRECATED
#endif

#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef SUNDIALS_NO_DEPRECATED
# define SUNDIALS_NO_DEPRECATED
# endif
#endif

#endif /* SUNDIALS_EXPORT_H */

0 comments on commit 6322f42

Please sign in to comment.