[mythtv-commits] Ticket #2957: Port to FLAC 1.1.3
MythTV
mythtv at cvs.mythtv.org
Tue Feb 20 09:25:30 UTC 2007
#2957: Port to FLAC 1.1.3
-----------------------+----------------------------------------------------
Reporter: ankoe | Owner: jarod
Type: task | Status: reopened
Priority: minor | Milestone: unknown
Component: mythmusic | Version: head
Severity: low | Resolution:
-----------------------+----------------------------------------------------
Comment (by nigel):
Sorry. Yes, there is a trick to get GCC's CPP to join symbols - the ##:
{{{
#define FLACENC(a) FLAC__file_encoder ## a
#define encoder_new() FLACENC(_new)
#define encoder_setup(enc, streamable_subset) \
FLACENC(_set_streamable_subset)(enc, BLAH, streamable_subset)
encoder_new();
encoder_setup(a,b);
}}}
But feel free to leave it as-is, because this trick probably
'''requires''' GCC.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2957#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list