diff --git a/libgenlock/genlock.cpp b/libgenlock/genlock.cpp index 2aa709a..37bcc0e 100644 --- a/libgenlock/genlock.cpp +++ b/libgenlock/genlock.cpp @@ -38,6 +38,10 @@ #define GENLOCK_DEVICE "/dev/genlock" +#ifndef USE_GENLOCK +#define USE_GENLOCK +#endif + namespace { /* Internal function to map the userspace locks to the kernel lock types */ int get_kernel_lock_type(genlock_lock_type lockType)