summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-02-03 17:52:31 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-02-03 17:52:31 +0000
commit2da6090f5ee17e8f97ba8bacc6acc5b040bf75ea (patch)
tree86062db6fc94a267a6b9243f4594ef66a8745a99 /gcc/cpphash.h
parent01075bcbd812db4b703e8998646ac315e05384cc (diff)
downloadgcc-2da6090f5ee17e8f97ba8bacc6acc5b040bf75ea.tar.gz
cpphash.h: Rename ALIGN _ALIGN.
* cpphash.h: Rename ALIGN _ALIGN. * cpplex.c (new_chunk, _cpp_pool_reserve): Update. From-SVN: r39433
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 77c80cdc00d..73744889392 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -43,14 +43,14 @@ struct htab;
#define CPP_STACK_MAX 200
/* Memory pools. */
-#define ALIGN(size, align) (((size) + ((align) - 1)) & ~((align) - 1))
+#define _ALIGN(size, align) (((size) + ((align) - 1)) & ~((align) - 1))
#define POOL_FRONT(p) ((p)->cur->front)
#define POOL_LIMIT(p) ((p)->cur->limit)
#define POOL_BASE(p) ((p)->cur->base)
#define POOL_SIZE(p) ((p)->cur->limit - (p)->cur->base)
#define POOL_ROOM(p) ((p)->cur->limit - (p)->cur->front)
#define POOL_USED(p) ((p)->cur->front - (p)->cur->base)
-#define POOL_COMMIT(p, len) do {((p)->cur->front += ALIGN (len, (p)->align));\
+#define POOL_COMMIT(p, len) do {((p)->cur->front += _ALIGN (len, (p)->align));\
if ((p)->cur->front > (p)->cur->limit) abort ();} while (0)
typedef struct cpp_chunk cpp_chunk;