[vorbis-dev] mingw compiling problem for libogg
Nehal Mistry
nehal at canada.com
Tue Dec 10 15:09:29 PST 2002
> (i hope this is correct m.list)
> Hi,
>
> there is a small compiling problem for mingw
> when compiling on libogg..
>
> in include/ogg/os_types.h :
> ogg_int64_t, ogg_int32_t, etc are defined
> correctly on cygwin and MSVC/Borland
> but not on mingw...
>
> i have attached a patch that will fix
> this problem (i hope it attaches
> correctly)
>
> thx, Nehal
orry, small mistake in that one, use this instead
<p>
--- os_types.h.old Fri Jul 19 02:25:52 2002
+++ os_types.h Tue Dec 10 15:07:10 2002
@@ -32,6 +32,13 @@
typedef __int32 ogg_int32_t;
typedef unsigned __int32 ogg_uint32_t;
typedef __int16 ogg_int16_t;
+# elif defined(__MINGW32__)
+ /* Mingw */
+# include <stdint.h>
+ typedef int64_t ogg_int64_t;
+ typedef int32_t ogg_int32_t;
+ typedef uint32_t ogg_uint32_t;
+ typedef int16_t ogg_int16_t;
# else
/* Cygwin */
#include <_G_config.h>
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list