changeset 7914:55d957317e7f draft

(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
author rubidium <rubidium@openttd.org>
date Sun, 18 Nov 2007 20:21:41 +0000
parents bf426a51dacf
children ced6a3f5ba62
files src/stdafx.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -360,6 +360,8 @@
 #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)