fix macro expansion warning
Fixed macro expansion warning 'warning: macro expansion producing
'defined' has undefined behavior [-Wexpansion-to-defined]' by using
#if - #else macros instead of single liner #define.
/**
* Define the condition here to use Intel ISA library.
*/
-#define ISAL_ENCODE_ENABLED (!defined(__KERNEL__) && defined(HAVE_ISAL))
+#if !defined(__KERNEL__) && defined(HAVE_ISAL)
+#define ISAL_ENCODE_ENABLED 1
+#else
+#define ISAL_ENCODE_ENABLED 0
+#endif
/* __MOTR_SNS_PARITY_DEFS_H__ */
#endif
