]> granicus.if.org Git - graphviz/commitdiff
Windows: patchwork and xdot now generating .lib files.
authorErwin Janssen <erwinjanssen@outlook.com>
Mon, 20 Jun 2016 23:00:45 +0000 (01:00 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Mon, 20 Jun 2016 23:00:45 +0000 (01:00 +0200)
lib/patchwork/patchwork.h
lib/xdot/xdot.h

index ee3df7a9712e622554a9fcf9cd5e3f905b7363ff..917e7e7a0cab26e330ad042b5e5e2511df6f11df 100644 (file)
 #include "render.h"
 #include "fdp.h"
 
+/*visual studio*/
+#if defined(WIN32)
+#   define extern __declspec(dllexport)
+#endif
+/*end visual studio*/
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index be843378a8a277fa03dc87ee1b17f8b2aa811499..1caded01810c41f352828f061fcba455caded28f 100755 (executable)
 #include <windows.h>
 #endif
 
+/*visual studio*/
+#if defined(WIN32)
+#   define extern __declspec(dllexport)
+#endif
+/*end visual studio*/
+
 #ifdef __cplusplus
 extern "C" {
 #endif