From: Matthew Fernandez Date: Sun, 14 Aug 2022 22:12:02 +0000 (-0700) Subject: sfio: remove unused 'SF_CLOSE' X-Git-Tag: 5.0.1~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ce23e426e099c0dc73c53e2e6d2267bba28b52e;p=graphviz sfio: remove unused 'SF_CLOSE' All Graphviz uses were updated to use `SF_CLOSING` a long time ago. --- diff --git a/lib/sfio/sfio.h b/lib/sfio/sfio.h index 42758c7c0..f0c61845d 100644 --- a/lib/sfio/sfio.h +++ b/lib/sfio/sfio.h @@ -145,11 +145,6 @@ extern "C" { #define SF_SEEK 3 /* seek error */ #define SF_CLOSING 4 /* stream is about to be closed. */ -#if defined(_mac_SF_CLOSE) && !_mac_SF_CLOSE -#define SF_CLOSE SF_CLOSING /* this was the original close event */ - /* but AIX now uses this symbol. So we */ - /* avoid defining it in such cases. */ -#endif #define SF_DPUSH 5 /* when discipline is being pushed */ #define SF_DPOP 6 /* when discipline is being popped */