[ODE] some patches and packages

Andreas Volz lists at brachttal.net
Thu Apr 22 20:55:33 MST 2004


Am Thu, 22 Apr 2004 10:37:49 -0700 schrieb Russ Smith:

> 
> > On plain MSVC 6.0 (SP5), a macro "MSVC" just isn't defined for me.
> > So, in my own code repository, I also changed that to "_MSC_VER".
> 
> on my MSVC 6.0 i have both defined, but i don't see either one
> mentioned in the DSP files. is _MSC_VER somehow 'built in' while MSVC
> is not?

I didn't use VC++ but I searched google for that topic and so I found
_MSC_VER. But perhaps someone could verify that with VC++?

Simply try this in a VC++ console app:

#include <stdio.h>

int main (int argc, char **argv)
{
#ifdef _MSC_VER
  printf ("Macro _MSC_VER is default for VC++\n");
#else
  printf ("Macro _MSC_VER is NOT default for VC++\n");
#endif
  return 0;
}

regards
Andreas


More information about the ODE mailing list