Remove use of __CYGNUSCLIB__
authorTom Tromey <tom@tromey.com>
Sun, 3 May 2020 21:58:27 +0000 (15:58 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 13 Sep 2021 23:53:58 +0000 (17:53 -0600)
I found a check of __CYGNUSCLIB__ in dbxread.c.  I think this is dead
code.  This patch removes it.

gdb/dbxread.c

index cf35880b509b48735804a9e861ad3d9232037717..4d846990a56b37e172af9bf9dc5b55fcf4c16a09 100644 (file)
    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>