summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2003-02-09 19:29:46 +0000
committerpixel <pixel>2003-02-09 19:29:46 +0000
commitf02d2dd89ee509ebf91c80c2028313349e385f16 (patch)
tree23eef854176fbdd8ef82bb53b7913bc134630c4d
parentf90e08fe2a64b0402a810a704a00b24c7433f50a (diff)
Whoups
-rw-r--r--include/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/generic.h b/include/generic.h
index dbdadd2..964501f 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -113,6 +113,7 @@ inline T MIN(T a, T b) {
#define BX_(x) ((x) - (((x)>>1)&0x77777777) \
- (((x)>>2)&0x33333333) \
- (((x)>>3)&0x11111111))
+#define ISPOT(x) (((x)&(x-1))==0?1:0)
#include <sys/types.h>
#include <sys/stat.h>