From b166ca6beca3e85e4a3f359828462f87054d97fa Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 18 Nov 2007 20:21:41 +0000 Subject: [PATCH] (svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures. --- src/stdafx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stdafx.h b/src/stdafx.h index d9bf348355..d3c268e7a0 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -360,6 +360,8 @@ CDECL error(const char *str, ...); #elif defined(OPENBSD) /* OpenBSD uses strcasecmp(3) */ #define _stricmp strcasecmp +/* OpenBSD furthermore already has an ALIGN macro. */ +#undef ALIGN #endif #if !defined(MORPHOS) && !defined(OPENBSD)