On 14/01/2013 1:28 PM, Derek Buitenhuis wrote: >> Something along the lines of >> >> #if defined(_MSC_VER) >> #define FMT %Iu >> #else >> #define FMT %zu >> #endif >> >> and replacing %zu by FMT below seems simpler. Or is there something >> I am missing? > > I wasn't able to get that to expand properly. (tested with cl -E). > > Perhaps someone with a better understanding of inline macro expansion could > try?
So my problem was that I was doing: #define FMT Iu when it should have been: #define FMT "Iu" Works now, so I'll send a revised patch set soon-ish. - Derek _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
