-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added sundials_export.h from /usr/local/include/sundials to inst/include/sundials
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
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 */ |