From: Matthew Fernandez Date: Fri, 24 Sep 2021 00:01:30 +0000 (-0700) Subject: smyrna: remove duplicate _BB definitions X-Git-Tag: 2.49.2~30^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abdf754fd950ad1921affc0488e30b4d9e215dc9;p=graphviz smyrna: remove duplicate _BB definitions 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`. --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 6f01f71d6..4a15d0cac 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -15,11 +15,6 @@ #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 #include