gnulib's sys/stat.h always defines S_IRGRP, S_IXGRP, S_IXOTH.
authorPedro Alves <palves@redhat.com>
Mon, 2 Dec 2013 11:09:24 +0000 (11:09 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 2 Dec 2013 11:09:24 +0000 (11:09 +0000)
commit840207d8ee5249c11463baaf5fb37c44595c4f00
treedd4dc82a14fd03297d900d281160c4866eff0953
parent0fdf84ca4b795a8993faa9b67d0acccae2390b03
gnulib's sys/stat.h always defines S_IRGRP, S_IXGRP, S_IXOTH.

Confirmed that cross building a mingw gdb still works, and also made
sure it was gnulib's sys/stat.h that was defining the values, by
hacking the header with #errors where the macros are defined.

gdb/
2013-12-02  Pedro Alves  <palves@redhat.com>

* ctf.c (ctf_start): Use S_IRGRP, S_IXGRP, S_IXOTH
unconditionally.
gdb/ChangeLog
gdb/ctf.c