(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
authorrubidium
Sun, 18 Nov 2007 20:21:41 +0000
changeset 7914 a58b495cd787
parent 7913 996c6d623dd0
child 7915 a3bfcbee97c1
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
src/stdafx.h
--- a/src/stdafx.h	Sun Nov 18 20:10:07 2007 +0000
+++ b/src/stdafx.h	Sun Nov 18 20:21:41 2007 +0000
@@ -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)