]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove duplicate _BB definitions
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Sep 2021 00:01:30 +0000 (17:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 30 Sep 2021 00:36:04 +0000 (17:36 -0700)
There was the option to remove the first duplicate or the second in this file. I
checked that none of the intervening includes depended on a `_BB` definition. It
seemed clearer to remove the first and indicate that only Smyrna itself is using
`_BB`.

cmd/smyrna/smyrnadefs.h

index 6f01f71d69add414bdb0c223d02c8e90a189a854..4a15d0cacc505f4cd73638568aa9ac956730b159 100644 (file)
 #include "windows.h"
 #endif
 #endif
-#ifdef _WIN32                  //this  is needed on _WIN32 to get libglade see the callback
-#define _BB  __declspec(dllexport)
-#else
-#define _BB
-#endif
 
 #include <xdot/xdot.h>
 #include <gtk/gtk.h>