From 264db5bc6ac707db435e390be356e5f6d37edb19 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Wed, 6 Oct 2010 19:40:51 +1100 Subject: [PATCH] src/common.h : Add macro NOT. --- ChangeLog | 5 +++++ src/common.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 56780a28..3ef062e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-06 Erik de Castro Lopo + + * src/common.h + Add macro NOT. + 2010-10-05 Erik de Castro Lopo * src/sndfile.c diff --git a/src/common.h b/src/common.h index 9f0d1a71..0bdfd249 100644 --- a/src/common.h +++ b/src/common.h @@ -90,6 +90,8 @@ #define ARRAY_LEN(x) ((int) (sizeof (x) / sizeof ((x) [0]))) +#define NOT(x) (! (x)) + #if (COMPILER_IS_GCC == 1) #define SF_MAX(x,y) ({ \ typeof (x) sf_max_x1 = (x) ; \