Ticket #36364: gcc47_fix_nanosleep_test.diff
File gcc47_fix_nanosleep_test.diff, 590 bytes (added by howarth@…, 12 years ago) |
---|
-
libstdc++-v3/configure
old new 19840 19840 { 19841 19841 #if _POSIX_TIMERS > 0 19842 19842 timespec tp; 19843 #else 19844 struct timespec tp; 19843 19845 #endif 19844 19846 nanosleep(&tp, 0); 19845 19847 -
libstdc++-v3/acinclude.m4
old new 1225 1225 ], 1226 1226 [#if _POSIX_TIMERS > 0 1227 1227 timespec tp; 1228 #else 1229 struct timespec tp; 1228 1230 #endif 1229 1231 nanosleep(&tp, 0); 1230 1232 ], [ac_has_nanosleep=yes], [ac_has_nanosleep=no])