Make values ITIMER_* also available as macros.
[kopensolaris-gnu/glibc.git] / time / sys / time.h
index 5519f71..c4745f1 100644 (file)
@@ -81,11 +81,14 @@ enum __itimer_which
   {
     /* Timers run in real time.  */
     ITIMER_REAL = 0,
+#define ITIMER_REAL ITIMER_REAL
     /* Timers run only when the process is executing.  */
     ITIMER_VIRTUAL = 1,
+#define ITIMER_VIRTUAL ITIMER_VIRTUAL
     /* Timers run when the process is executing and when
        the system is executing on behalf of the process.  */
     ITIMER_PROF = 2
+#define ITIMER_PROF ITIMER_PROF
   };
 
 /* Type of the second argument to `getitimer' and