diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-11 07:14:08 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-11 07:14:08 +0000 |
commit | ed8e5b8319e37114b39dd88e6ed9a4e51e8b894a (patch) | |
tree | 6ec3d69c3f4021f1aad41adf4ef0be271bd70e6e /gcc/ada/adaint.h | |
parent | 217f707ea34d07153cb8441be1af0b756224760f (diff) | |
download | gcc-ed8e5b8319e37114b39dd88e6ed9a4e51e8b894a.tar.gz |
2010-10-11 Vincent Celier <celier@adacore.com>
* Makefile.rtl: Add s-multip.
* adaint.c: New function __gnat_number_of_cpus, implemented for Linux,
defaulting to 1 for other platforms.
* adaint.h: New function __gnat_number_of_cpus.
* impunit.adb (Non_Imp_File_Names_12): New file list for Ada 2012,
with a single component "s-multip".
* impunit.ads (Kind_Of_Unit): New enumerated value Ada_12_Unit for Ada
2012.
* rtsfind.ads (RTU_Id): New enumerated value System_Multiprocessors
* s-multip.ads, s-multip.adb: New Ada 2012 package.
* sem_ch10.adb (Analyze_With_Clause): Check also Ada 2012 units.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index a43f9b23f4e..999c024eca8 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -235,6 +235,8 @@ extern int __gnat_set_close_on_exec (int, int); extern int __gnat_dup (int); extern int __gnat_dup2 (int, int); +extern int __gnat_number_of_cpus (void); + extern void __gnat_os_filename (char *, char *, char *, int *, char *, int *); #if defined (linux) |