[vorbis] Trying to figure out the library...
greg at wooledge.org
Tue Apr 9 03:21:33 PDT 2002
John Wedoff (john at wedoff.org) wrote:
> Microsoft suggests putting something like the following in headers to test
> to make certain that the libraries are linked against code using the same C
> // MyReusableDynamicLinkReleaseLibrary.h
> #if !defined(_MT) || !defined(_DLL) || defined(_DEBUG)
> #error The /MD compiler switch is required.
I don't know about C++, and obviously Microsoft's compilers may be
lenient here, but standard C doesn't permit the # to be indented.
Assuming that the #if is in the first column,
#if !defined(_MT) || !defined(_DLL) || defined(_DEBUG)
# error The /MD compiler switch is required.
Greg Wooledge | "Truth belongs to everybody."
greg at wooledge.org | - The Red Hot Chili Peppers
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 241 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20020409/56d9db1a/part.pgp
More information about the Vorbis