From 451b82df9707fdfca751f834dbc7895a071cd744 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Fri, 10 Feb 2012 14:42:47 +1100 Subject: [PATCH] Convert #if to #ifdef in diablo .cl. --- DiabloMiner120210.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiabloMiner120210.cl b/DiabloMiner120210.cl index 3a5bcb82..9d1d24e0 100644 --- a/DiabloMiner120210.cl +++ b/DiabloMiner120210.cl @@ -18,14 +18,14 @@ typedef uint z; -#if BITALIGN +#ifdef BITALIGN #pragma OPENCL EXTENSION cl_amd_media_ops : enable #define Zrotr(a, b) amd_bitalign((z)a, (z)a, (z)(32 - b)) #else #define Zrotr(a, b) rotate((z)a, (z)b) #endif -#if BFI_INT +#ifdef BFI_INT #define ZCh(a, b, c) amd_bytealign(a, b, c) #define ZMa(a, b, c) amd_bytealign((c ^ a), (b), (a)) #else