X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fperformance-thread%2Fpthread_shim%2Fpthread_shim.c;h=93e8dca3fafe6be975b141c5f9a5a27e8a3a9286;hb=6738c0a956953b726cff55da48ee4d5574b0fdf5;hp=53f12437f0a27acb4f978c95b42485fa48177a70;hpb=803ee2ebd32d019d54011f185819f3b76b113c4f;p=dpdk.git diff --git a/examples/performance-thread/pthread_shim/pthread_shim.c b/examples/performance-thread/pthread_shim/pthread_shim.c index 53f12437f0..93e8dca3fa 100644 --- a/examples/performance-thread/pthread_shim/pthread_shim.c +++ b/examples/performance-thread/pthread_shim/pthread_shim.c @@ -6,7 +6,6 @@ #include #include #include -#define __USE_GNU #include #include @@ -559,7 +558,7 @@ int pthread_rwlock_wrlock(pthread_rwlock_t *a) return _sys_pthread_funcs.f_pthread_rwlock_wrlock(a); } -#ifdef RTE_EXEC_ENV_LINUXAPP +#ifdef RTE_EXEC_ENV_LINUX int pthread_yield(void) {