[vorbis-dev] Small Solaris build problem + solution
Dimitry Andric
dim at xs4all.nl
Sat Jun 17 12:09:10 PDT 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2000-06-16 at 19:01 Monty wrote:
>> I couldn't get vorbis/lib to build on a Solaris box because of the
>> use of `u_int32_t' in vorbis/lib/framing.c. Someone with commit
>> access may want to consider changing these to the posix
>> `uint32_t'.
>
>Ah! Right! I forgot about that one. Mike's been reminding me
>every week for about two months....
You might also want to consider adding a int16_t typedef for Win32
builds, since neither M$VC nor BorlandC has these (but Cygwin does
have it). This type is only needed to build the decoder_example, as
far as I can see.
diff -u -r1.3 os_types.h
- --- os_types.h 2000/06/14 08:19:22 1.3
+++ os_types.h 2000/06/17 19:03:59
@@ -21,6 +21,7 @@
#if defined (_WIN32) && !defined(__GNUC__)
typedef __int64 int64_t;
typedef unsigned int u_int32_t;
+typedef short int16_t;
#endif
Cheers,
- --
Dimitry Andric <dimitry at andric.com>
PGP key: http://andric.com/dim.asc
KeyID: 4096/1024-0x2E2096A3
Fingerprint: 7AB4 62D2 CE35 FC6D 4239 4FCD B05E A30A 2E20 96A3
-----BEGIN PGP SIGNATURE-----
Version: Encrypted with PGP Plugin for Calypso
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm
iQA/AwUBOUu+krBeowouIJajEQIGoACg4BH4nQU/B1LS9qCABt4Bp4TW3XQAoMff
Myp9UOyaLeYQV2tdN8NMuzmA
=B+t5
-----END PGP SIGNATURE-----
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list