index 81b026f7c348420a27b2fb08ee333deda42fd505..87833bd69edbc81911bd7d4dbae16ca81022252e 100644 (file)
{$ENDIF}
{$ELSEIF DEFINED(UNIX)}
{$DEFINE OGG_DYNAMIC}
- const vorbislib = 'libvorbis.so';
- const vorbisfilelib = 'libvorbisfile.so';
+ {$LINKLIB libvorbis}
+ {$LINKLIB libvorbisfile}
+ const vorbislib = 'libvorbis';
+ const vorbisfilelib = 'libvorbisfile';
{$ELSE}
{$ERROR libvorbis not supported on this platform. Fix it!}
{$ENDIF}
num := length;
bptr := @buf;
- while ((LongWord(bptr) and $0f) <> 0) do Inc(bptr);
+ while ((PtrUInt(bptr) and $0f) <> 0) do Inc(bptr);
while num > 0 do
begin