Re: [id3lib-devel] patch for c99 bool
Brought to you by:
t1mpy
From: Cedric T. <sha...@us...> - 2013-02-22 08:40:50
|
id3lib is effectively unmaintained at this point. On 2/18/2013 10:08 AM, Matt DeLuco wrote: > Any chance of getting in an update that makes id3lib a little more c99 friendly? > > I'm using id3lib in a Cocoa project on OS X, and the foundation library includes stdbool.h which typedefs bool and defines true and false. I've appended a condition to define bool in the absence of __bool_true_false_are_defined, which is defined in stdbool.h: > > Index: include/id3/globals.h > =================================================================== > RCS file: /cvsroot/id3lib/id3lib-devel/include/id3/globals.h,v > retrieving revision 1.56 > diff -r1.56 globals.h > 113c113 > < #ifndef __cplusplus > --- >> #if !defined(__cplusplus) && !defined(__bool_true_false_are_defined) > 119c119 > < #endif /* __cplusplus */ > --- >> #endif /* __cplusplus __bool_true_false_are_defined */ > MD > ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > id3lib-devel mailing list > id3...@li... > https://lists.sourceforge.net/lists/listinfo/id3lib-devel > |