From: Erwin Janssen Date: Mon, 20 Jun 2016 23:00:45 +0000 (+0200) Subject: Windows: patchwork and xdot now generating .lib files. X-Git-Tag: untagged-fd4ca25a4ca4e4dc471c~4^2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d05d9058ace90e06beec60f1aa5b83bb809a109;p=graphviz Windows: patchwork and xdot now generating .lib files. --- diff --git a/lib/patchwork/patchwork.h b/lib/patchwork/patchwork.h index ee3df7a97..917e7e7a0 100644 --- a/lib/patchwork/patchwork.h +++ b/lib/patchwork/patchwork.h @@ -17,6 +17,12 @@ #include "render.h" #include "fdp.h" +/*visual studio*/ +#if defined(WIN32) +# define extern __declspec(dllexport) +#endif +/*end visual studio*/ + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/xdot/xdot.h b/lib/xdot/xdot.h index be843378a..1caded018 100755 --- a/lib/xdot/xdot.h +++ b/lib/xdot/xdot.h @@ -17,6 +17,12 @@ #include #endif +/*visual studio*/ +#if defined(WIN32) +# define extern __declspec(dllexport) +#endif +/*end visual studio*/ + #ifdef __cplusplus extern "C" { #endif