diff --git a/targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp b/targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp index d81e83164bbedf6b24e85504831a56294dd134af..2fd89394c2b372c1db403d2026ce3a9e2c301383 100644 --- a/targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp +++ b/targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp @@ -32,6 +32,12 @@ * Author: HongliangXU : hong-liang-xu@agilent.com */ +#ifdef USRP +/* USRP is both an enum in ettus library and a define for OAI */ +/* This removes the define for OAI */ +#undef USRP +#endif + #include <string.h> #include <pthread.h> #include <unistd.h>