Displaying 1 result from an estimated 1 matches for "__msvc__".
2001 Jan 27
0
Vorbis with BCB
...and template functions.
BCB doesn't like the inline MSVC assembly. This function is
preceded by this code:
#ifdef _WIN32
I changed it to this:
#if defined(_WIN32) && !defined(__BORLANDC__)
But it should probably be something like this:
#if defined(_WIN32) && defined(__MSVC__)
Or shortened to:
#ifdef __MSVC__
With what ever constant that MSVC defines as its own.
The same thing appears in 'platform.c' when defining 'setbinmode'.
I'm not sure, though, if just changing the directive is enough. Does
there need to alternative code for BCB?
{Build...