]> git.droids-corp.org - dpdk.git/blobdiff - examples/performance-thread/pthread_shim/pthread_shim.c
build/linux: rename macro from LINUXAPP to LINUX
[dpdk.git] / examples / performance-thread / pthread_shim / pthread_shim.c
index 53f12437f0a27acb4f978c95b42485fa48177a70..93e8dca3fafe6be975b141c5f9a5a27e8a3a9286 100644 (file)
@@ -6,7 +6,6 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include <errno.h>
-#define __USE_GNU
 #include <sched.h>
 #include <dlfcn.h>
 
@@ -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)
 {