[Live-devel] About how to Build LiveMedia with C++ Builder 5.0.

Ross Finlayson finlayson at live.com
Wed Jan 26 11:50:16 PST 2005


>Yes, there is setmode in C++ Builder's lib. But "inputfile.cpp" and 
>"outputfile.cpp" include "UsageEnvironment.hh" instead of "Media.hh".
>So, in "UsageEnvironment.hh", add this:
>#ifdef __BORLANDC__
>#define _setmode setmode
>#define _O_BINARY O_BINARY
>#endif
>In "Media.hh", add this:
>#ifdef __BORLANDC__
>#define _strnicmp strnicmp
>#define fabsf(x) fabs(x)
>#endif
>I have tried the above. It works.

OK, thanks.  This will get included in the next software release.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list