[pushed] Remove use of __CYGNUSCLIB__

Message ID 20210913235337.3024886-1-tom@tromey.com
State New
Headers show
Series
  • [pushed] Remove use of __CYGNUSCLIB__
Related show

Commit Message

Tom Tromey Sept. 13, 2021, 11:53 p.m.
I found a check of __CYGNUSCLIB__ in dbxread.c.  I think this is dead
code.  This patch removes it.
---
 gdb/dbxread.c | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.31.1

Patch

diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index cf35880b509..4d846990a56 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -31,10 +31,6 @@ 
    for real.  dbx_psymtab_to_symtab() is the function that does this */
 
 #include "defs.h"
-#if defined(__CYGNUSCLIB__)
-#include <sys/types.h>
-#include <fcntl.h>
-#endif
 
 #include "gdb_obstack.h"
 #include <sys/stat.h>