=================================================================== RCS file: /home/wine/wine/include/mmsystem.h,v retrieving revision 1.49 diff -u -r1.49 mmsystem.h --- mmsystem.h 10 Mar 2002 00:02:34 -0000 1.49 +++ mmsystem.h 25 Apr 2002 16:42:43 -0000 @@ -1335,9 +1335,11 @@ #define MMIO_CREATERIFF 0x0020 /* mmioCreateChunk: make a LIST chunk */ #define MMIO_CREATELIST 0x0040 /* mmioCreateChunk: make a RIFF chunk */
+#ifndef __MINGW__ #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 +#endif /* __MINGW__ */
#define MMIOM_READ MMIO_READ /* read */ #define MMIOM_WRITE MMIO_WRITE /* write */
"Every revolution was once a thought in one man's mind" - Ralph Waldo Emerson
Steven Edwards a écrit :
+#ifndef __MINGW__
using #ifndef SEEK_SET would much better it's most of the time a bad idea to use #ifdef MYOS to check for the presence/absence of a feature the best way is to check for the feature itself, and not infer it from the OS...
Ok that is another one I will write a configure check for when I get the time to learn autoconf. Currently I'm trying to find all of the bugs and get advice on the best way of fixing the port.
Thanks Steven
"Every revolution was once a thought in one man's mind" - Ralph Waldo Emerson
-----Original Message----- From: wine-devel-admin@winehq.com [mailto:wine-devel-admin@winehq.com] On Behalf Of Eric Pouech Sent: Thursday, April 25, 2002 12:58 PM To: wine-devel@winehq.com Subject: Re: Patch to quite another Mingw Build warning (mmsystem.h)
Steven Edwards a écrit :
+#ifndef __MINGW__
using #ifndef SEEK_SET would much better it's most of the time a bad idea to use #ifdef MYOS to check for the presence/absence of a feature the best way is to check for the feature itself, and not infer it from the OS...