Ticket #36364: gcc48_fix_nanosleep_test.diff
File gcc48_fix_nanosleep_test.diff, 590 bytes (added by howarth@…, 12 years ago) |
---|
-
libstdc++-v3/configure
old new 19789 19789 { 19790 19790 #if _POSIX_TIMERS > 0 19791 19791 timespec tp; 19792 #else 19793 struct timespec tp; 19792 19794 #endif 19793 19795 nanosleep(&tp, 0); 19794 19796 -
libstdc++-v3/acinclude.m4
old new 1251 1251 ], 1252 1252 [#if _POSIX_TIMERS > 0 1253 1253 timespec tp; 1254 #else 1255 struct timespec tp; 1254 1256 #endif 1255 1257 nanosleep(&tp, 0); 1256 1258 ], [ac_has_nanosleep=yes], [ac_has_nanosleep=no])