diff options
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r-- | gcc/ada/s-oscons-tmplt.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index d3b0ef4..7a6d9eb 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -1389,13 +1389,10 @@ CST(Inet_Pton_Linkname, "") /* Note: On HP-UX, CLOCK_REALTIME is an enum, not a macro. */ -#if defined(CLOCK_REALTIME) || defined (__hpux__) -# define HAVE_CLOCK_REALTIME +#if !(defined (__hpux__) || defined (CLOCK_REALTIME)) +# define CLOCK_REALTIME -1 #endif - -#ifdef HAVE_CLOCK_REALTIME CND(CLOCK_REALTIME, "System realtime clock") -#endif #ifdef CLOCK_MONOTONIC CND(CLOCK_MONOTONIC, "System monotonic clock") |