diff options
author | rubidium <rubidium@openttd.org> | 2007-11-18 20:21:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-18 20:21:41 +0000 |
commit | b166ca6beca3e85e4a3f359828462f87054d97fa (patch) | |
tree | 2d7116bb7d75d3f0ffd2d4793eeef3fc0c2f61d4 | |
parent | a4d63f5b5b23392390816fc894f19c6779399d34 (diff) | |
download | openttd-b166ca6beca3e85e4a3f359828462f87054d97fa.tar.xz |
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
-rw-r--r-- | src/stdafx.h | 2 |
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) |