summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-18 20:21:41 +0000
committerrubidium <rubidium@openttd.org>2007-11-18 20:21:41 +0000
commite15a5365d1134fd449f013428a9ae6d167a855ee (patch)
tree2d7116bb7d75d3f0ffd2d4793eeef3fc0c2f61d4
parent96d156944f34f46032124b3707b7d365322cb5a1 (diff)
downloadopenttd-e15a5365d1134fd449f013428a9ae6d167a855ee.tar.xz
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
-rw-r--r--src/stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index d9bf34835..d3c268e7a 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)