aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJerome Lambourg <lambourg@adacore.com>2018-05-22 13:26:49 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-22 13:26:49 +0000
commit9820b3897803c38f66f8515dc15cdb3e10c7ad20 (patch)
tree5200ed8a157dd822e2fb3d68b2ae0a75efe2ef6f /gcc/builtins.c
parent817659c5f32786062f09befbf7132723441556b6 (diff)
downloadgcc-9820b3897803c38f66f8515dc15cdb3e10c7ad20.zip
gcc-9820b3897803c38f66f8515dc15cdb3e10c7ad20.tar.gz
gcc-9820b3897803c38f66f8515dc15cdb3e10c7ad20.tar.bz2
[Ada] Fix retrieval of number of CPUs on QNX
Although the sysconf SC_NPROCESSORS_ONLN is also defined by the API, the only documented way to retrieve the number of CPUs is by using the syspage. This also better organise the QNX-specific macros in adaint.c 2018-05-22 Jerome Lambourg <lambourg@adacore.com> gcc/ada/ * adaint.c: Reorganize QNX-specific macros, use syspage to retreive the number of CPUs. From-SVN: r260531
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions