summaryrefslogtreecommitdiff
path: root/src/stdafx.h
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
commitb166ca6beca3e85e4a3f359828462f87054d97fa (patch)
tree2d7116bb7d75d3f0ffd2d4793eeef3fc0c2f61d4 /src/stdafx.h
parenta4d63f5b5b23392390816fc894f19c6779399d34 (diff)
downloadopenttd-b166ca6beca3e85e4a3f359828462f87054d97fa.tar.xz
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
Diffstat (limited to 'src/stdafx.h')
-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)