include/rays/defs.h in rays-0.2.1 vs include/rays/defs.h in rays-0.3

- old
+ new

@@ -9,9 +9,16 @@ #include <xot/defs.h> #include <xot/string.h> +#if defined(WIN32) && defined(GCC) && defined(RAYS) + #define RAYS_EXPORT __declspec(dllexport) +#else + #define RAYS_EXPORT +#endif + + namespace Rays { using namespace Xot::Types;