Test also the existence of the SCHED_* macros.
[gnulib.git] / tests / test-sched.c
index 77b2937..8925d3a 100644 (file)
@@ -23,6 +23,9 @@
 /* Check that 'struct sched_param' is defined.  */
 static struct sched_param a;
 
+/* Check that the SCHED_* macris are defined and compile-time constants.  */
+static int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
+
 static int f1;
 
 int