added ifdef

Change-Id: I9005fe5228fc6ec63fef8a8beadb2274ff9bc768