diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gras/gras.hpp | 3 | ||||
-rw-r--r-- | include/gras/io_signature.hpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/gras/gras.hpp b/include/gras/gras.hpp index 18c0fa9..fefc35d 100644 --- a/include/gras/gras.hpp +++ b/include/gras/gras.hpp @@ -32,13 +32,16 @@ #ifdef GRAS_DLL // defined if GRAS is compiled as a DLL #ifdef GRAS_DLL_EXPORTS // defined if we are building the GRAS DLL (instead of using it) #define GRAS_API GRAS_HELPER_DLL_EXPORT + #define GRAS_EXTERN #else #define GRAS_API GRAS_HELPER_DLL_IMPORT + #define GRAS_EXTERN extern #endif // GRAS_DLL_EXPORTS #define GRAS_LOCAL GRAS_HELPER_DLL_LOCAL #else // GRAS_DLL is not defined: this means GRAS is a static lib. #define GRAS_API #define GRAS_LOCAL + #define GRAS_EXTERN #endif // GRAS_DLL #define GRAS_MAX_ALIGNMENT 32 diff --git a/include/gras/io_signature.hpp b/include/gras/io_signature.hpp index 002f79a..1d102e4 100644 --- a/include/gras/io_signature.hpp +++ b/include/gras/io_signature.hpp @@ -3,6 +3,7 @@ #ifndef INCLUDED_GRAS_IO_SIGNATURE_HPP #define INCLUDED_GRAS_IO_SIGNATURE_HPP +#include <gras/gras.hpp> #include <vector> #include <stdexcept> |