76aeaddfc5
Regen the patches files (one file per patch). Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc (by way of patches/patch-af) adjusted. Thanks to Nick for the helping hand and to Alistair for the previous work. This should close PR 13527. Make X11 support conditional by way if the ELK_USE_X11 variable. I tried to enable Motif support: only Motif 1.X should work but even with the lesstif12 package it does not - it does compile though. So Motif support if commented out but leaved in case someone want to fix ELK.
16 lines
509 B
Text
16 lines
509 B
Text
$NetBSD: patch-aj,v 1.2 2002/01/09 23:04:56 seb Exp $
|
|
|
|
--- include/misc.h.orig Wed Aug 2 18:16:09 1995
|
|
+++ include/misc.h
|
|
@@ -38,9 +38,9 @@
|
|
|
|
/* Align heap addresses */
|
|
#ifdef ALIGN_8BYTE
|
|
-# define ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 7) & ~7))
|
|
+# define ELK_ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 7) & ~7))
|
|
#else
|
|
-# define ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 3) & ~3))
|
|
+# define ELK_ALIGN(ptr) ((ptr) = (char *)(((long)(ptr) + 3) & ~3))
|
|
#endif
|
|
|
|
/* Normalize stack addresses */
|