avoid_loop Patch by Gerardo Malazdrewicz <gerardo@malazdrewicz.com.ar>

This commit is contained in:
Wolfgang Hommel
2013-08-21 10:00:50 +02:00
parent a2c8ac6687
commit a0e33461a0

View File

@@ -642,7 +642,7 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp) {
/* Check whether we've got a pointer to the real clock_gettime() function yet */
SINGLE_IF(has_real_clock_gettime==0)
real_clock_gettime = NULL;
real_clock_gettime = dlsym(RTLD_NEXT, "clock_gettime");
real_clock_gettime = dlsym(RTLD_NEXT, "__clock_gettime");
/* check whether dlsym() worked */
if (dlerror() == NULL) {