Yeah, I've done this with #macros myself before.

This commit is contained in:
Jason Felds
2011-03-02 19:02:52 -05:00
parent 9ed376e518
commit 263a842d8c
@@ -686,9 +686,9 @@ int URLRageFile_read( avcodec::URLContext *h, unsigned char *buf, int size )
}
#if defined(MACOSX)
int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size )
int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size );
#else
int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size )
int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size );
#end
{
RageFileBasic *f = (RageFileBasic *) h->priv_data;