From 0e8663d5f222fb4e16c090acb62d38e9f2959297 Mon Sep 17 00:00:00 2001 From: Naomi Luis Date: Mon, 28 Nov 2011 15:25:32 -0800 Subject: [PATCH] libgenlock: Enable the USE_GENLOCK flag. Change-Id: I2349de455eb82f2b10d2ccac1c318d7cef2901ae --- libgenlock/genlock.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)