]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] adaint.c minor reformatting
authorPierre-Marie de Rodat <derodat@adacore.com>
Fri, 25 Jun 2021 09:22:19 +0000 (09:22 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 12 Jul 2021 12:50:58 +0000 (12:50 +0000)
gcc/ada/

* adaint.c (__gnat_number_of_cpus): Replace "#ifdef" by "#if
defined".

gcc/ada/adaint.c

index 26be2600dd6bed07be4280811ae640db937b993f..06a48952b99dec8ae0a1b5b1ee645d5d91ef9396 100644 (file)
@@ -2485,7 +2485,7 @@ __gnat_number_of_cpus (void)
 {
   int cores = 1;
 
-#ifdef _SC_NPROCESSORS_ONLN
+#if defined (_SC_NPROCESSORS_ONLN)
   cores = (int) sysconf (_SC_NPROCESSORS_ONLN);
 
 #elif defined (__QNX__)