]> granicus.if.org Git - taglib/commit
Fix build when the 'uint' typedef is already defined.
authorRaphael Kubo da Costa <kubito@gmail.com>
Wed, 2 Mar 2011 03:05:28 +0000 (03:05 +0000)
committerRaphael Kubo da Costa <kubito@gmail.com>
Wed, 2 Mar 2011 03:05:28 +0000 (03:05 +0000)
commiteee860f9c63f9b5a6162d32a89e9dc9c98c24398
treedd462d2aa63a33e340d7e71315a497c6b4200caa
parent10fff6d79760996c28a6b1ecd905cdcedb0e95f1
Fix build when the 'uint' typedef is already defined.

Using uint in those structs gave me the following error:

  /home/rakuco/kde4/src/kdesupport/taglib/taglib/riff/rifffile.cpp:38:
error: reference to 'uint' is ambiguous
  /usr/include/sys/types.h:56: error: candidates are: typedef unsigned
int uint

Is it really necessary to have those typedefs in taglib.h? It'd be
nice to at least check if they are not being redefined.

CCMAIL: lalinsky@gmail.com

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1223282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
taglib/riff/rifffile.cpp