[Fwd: [AD] Mingw32 debugmode compile fix]

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]




Here's a patch to fix compilation of the Ming build when makeing the
debug mode of the library.
The compiler used to give a parse error inside ddraw.h. This fixes that.

/mingw32/patch -p1 < mingdebg.diff

BTW, there seems to be a problem with AL_INLINE too. poly3d refuses to
link (citing a missing fceil function). I suppose it's due to the
'extern' that is used in AL_INLINE. I'm not to sure how to fix this
though, as removing 'extern' breaks everything else :(

--

- Robert J Ohannessian
--- /cvs/allegro/include/allegro/almngw32.h	Tue Aug 15 04:30:04 2000
+++ allegro/include/allegro/almngw32.h	Fri Oct 27 14:35:26 2000
@@ -72,14 +72,17 @@
 /* pathches to handle DX7 headers on a win9x system */
 
 /* should WINNT be defined on win9x systems? */
+
 #ifdef WINNT
 	#undef WINNT
 #endif
 
 /* defined in windef.h */
+/*
 #ifndef HMONITOR_DECLARED
         #define HMONITOR_DECLARED
 #endif
+*/
 
 /* already defined... */
 #ifndef _LPCWAVEFORMATEX_DEFINED


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/