Define __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS again.
authorPedro Alves <palves@redhat.com>
Tue, 25 Oct 2016 10:47:18 +0000 (11:47 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 25 Oct 2016 10:47:18 +0000 (11:47 +0100)
commit28fe4f87e0b815f4c0d9b80e0a9f3e6a53c649b3
tree02d756a8fec1541dde258372eecc32a2c95622ac
parent3ef9d661f45abfaca5d0c0bb2ea9ab60470f1bb7
Define __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS again.

Revert commit f6abaf7a4088 (gdb: no longer define
__STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS), with the tweak suggested
in that commit's log: the macros are now defined before any system
header is included.

This should fix AIX:
  https://sourceware.org/ml/gdb-patches/2016-10/msg00682.html

gdb/ChangeLog:
2016-10-25  Pedro Alves  <palves@redhat.com>

       * common/common-defs.h (__STDC_CONSTANT_MACROS)
       (__STDC_LIMIT_MACROS): Define.
gdb/ChangeLog
gdb/common/common-defs.h