]> granicus.if.org Git - graphviz/commitdiff
remove _SFBINARY_H-conditional code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 1 Jul 2021 00:24:58 +0000 (17:24 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 5 Jul 2021 18:47:30 +0000 (11:47 -0700)
Nothing in the build defines this.

lib/sfio/sfhdr.h

index 3d8eef3d4f835d309bde95acdf206d0ce1829476..2f84fd5ee7f5abd4d9b7e900838602804216b6ca 100644 (file)
@@ -40,17 +40,6 @@ extern "C" {
 #      undef  _LARGEFILE64_SOURCE
 #endif
 
-/* when building the binary compatibility package, a number of header files
-   are not needed and they may get in the way so we remove them here.
-*/
-#ifdef _SFBINARY_H
-#undef  HAVE_SYS_ST
-#undef  HAVE_STAT_H
-#undef  _stream_peek
-#undef  _socket_peek
-#undef  HAVE_SYS_IOCTL_H
-#endif
-
 #include       <limits.h>
 #include       <stdlib.h>
 #include       <string.h>