From 4a500f3b2f112b23b0662c7640eb7e25780c0d5c Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 29 Aug 2004 22:05:16 +0000 Subject: [PATCH] Rename BITS_PER_PTR to CPU_BITS_PER_PTR. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@180 38d2e660-2303-0410-9eaa-f027e97ec537 --- mware/fifobuf.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mware/fifobuf.h b/mware/fifobuf.h index 3e4021f6..d1885a40 100755 --- a/mware/fifobuf.h +++ b/mware/fifobuf.h @@ -43,6 +43,9 @@ /*#* *#* $Log$ + *#* Revision 1.15 2004/08/29 22:05:16 bernie + *#* Rename BITS_PER_PTR to CPU_BITS_PER_PTR. + *#* *#* Revision 1.14 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -196,7 +199,7 @@ INLINE void fifo_flush(FIFOBuffer *fb) } -#if CPU_REG_BITS >= BITS_PER_PTR +#if CPU_REG_BITS >= CPU_BITS_PER_PTR /* * 16/32bit CPUs that can update a pointer with a single write @@ -206,7 +209,7 @@ INLINE void fifo_flush(FIFOBuffer *fb) #define fifo_push_locked(fb, c) fifo_push((fb), (c)) #define fifo_flush_locked(fb) fifo_flush((fb)) -#else /* CPU_REG_BITS < BITS_PER_PTR */ +#else /* CPU_REG_BITS < CPU_BITS_PER_PTR */ /*! * Similar to fifo_isempty(), but with stronger guarantees for -- 2.25.1