]> code.delx.au - gnu-emacs/commitdiff
* src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23764)
authorGlenn Morris <rgm@gnu.org>
Tue, 14 Jun 2016 17:39:30 +0000 (13:39 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 14 Jun 2016 17:39:30 +0000 (13:39 -0400)
src/alloc.c

index 4c9cbf1072470d48ea1027addad256ae3d31ea39..45234474a274bea3d96bed2738e61963afc30ab9 100644 (file)
@@ -468,6 +468,11 @@ static void *pure_alloc (size_t, int);
                       ? ((x) + (y) - 1) - ((x) + (y) - 1) % (y)        \
                       : ((x) + (y) - 1) & ~ ((y) - 1))
 
+/* Bug#23764  */
+#ifdef ALIGN
+# undef ALIGN
+#endif
+
 /* Return PTR rounded up to the next multiple of ALIGNMENT.  */
 
 static void *