(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
--- os_types.h.old Fri Jul 19 02:25:52 2002
+++ os_types.h Tue Dec 10 14:15:44 2002
@@ -32,6 +32,13 @@
typedef __int32 ogg_int32_t;
typedef unsigned __int32 ogg_uint32_t;
typedef __int16 ogg_int16_t;
+# elif defined(__MINGW32_VERSION)
+ /* 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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
> (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, Nehalorry, 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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
general question --
is there any consensus on ming vs. cygwin? I'm used to cygwin but would
switch if it made sense. There are some definite wierdnesses with autoconf and
make under cygwin.
-----Original Message-----
From: rillian [mailto:rillian@telus.net]
Sent: Thu 12/12/2002 7:19 AM
To: vorbis-dev@xiph.org
Cc:
Subject: Re: [vorbis-dev] mingw compiling problem for libogg
Hmm. If we can use a modern autoconf, we can just make this '#ifdef
HAVE_STDINT' and make it the default.
-r
On Tuesday, December 10, 2002, at 11:09 pm, Nehal Mistry wrote:
> --- 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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject
is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
.+-j!i0+:)rhZm1hNrybXuz/zqhrj)
'+a{
+v&{ay,rR{.n+z,z{m^+-)emw