(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
authorrubidium
Sun, 18 Nov 2007 20:21:41 +0000
changeset 8410 087882b5922f
parent 8409 5c92516290c9
child 8411 8399b375c2a4
(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)