Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#37 [PATCH] Fix macro misuse for MinGW

open
nobody
None
5
2013-04-06
2009-08-15
Jonathan Yong
No

Hi,

I sent a patch earlier, but it looks like it was caught in the spam filters, it didn't show up on the archives page.

While building flac 1.2.1 for win64, I noticed that _MSC_VER is used to determine if "%I64" or "%ll" should be use.

While this is fine with MSVC, it doesn't work right for GCC and mingw. Attached patch fixes that.

Comments?

Discussion

  • Jonathan Yong
    Jonathan Yong
    2009-09-05

    ping

     
  • Ulrich Klauer
    Ulrich Klauer
    2013-04-06

    Should be fixed in 1.3.0. All the printfs are using PRIu64 and friends.