From a10cd5cedee2eb30e49980f9136d6844ceb7ace1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 26 Nov 2012 02:43:29 -0800 Subject: various tweaks for submodule building and msvc --- include/gras/gras.hpp | 3 +++ include/gras/io_signature.hpp | 1 + 2 files changed, 4 insertions(+) (limited to 'include') 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 #include #include -- cgit