[tremor] Compiling with mingw

42Bastian bastian42 at epost.de
Sat Feb 15 15:00:46 PST 2003



Hi,

just want to let you know, in order to compile idec with mingw, I had to
modfies os_type.h.
Here are the lines I modified:

#  if defined __GNUC__ && !defined __MINGW32__
     /* MSVC/Borland */
     typedef __int64 ogg_int64_t;
     typedef __int32 ogg_int32_t;
     typedef unsigned __int32 ogg_uint32_t;
     typedef __int16 ogg_int16_t;
#  elif defined __MINGW32__
typedef long long ogg_int64_t;
typedef long ogg_int32_t;
typedef unsigned long ogg_uint32_t;
typedef short ogg_int16_t;
#  else
     /* Cygwin */
     #include <_G_config.h>
     typedef _G_int64_t ogg_int64_t;
     typedef _G_int32_t ogg_int32_t;
     typedef _G_uint32_t ogg_uint32_t;
     typedef _G_int16_t ogg_int16_t;
#  endif


-- 
42Bastian

<p>--- >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 'tremor-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 Tremor mailing list