diff --git a/dtool/pptempl/Global.msvc.pp b/dtool/pptempl/Global.msvc.pp index 143bdbed40..da92ba2619 100644 --- a/dtool/pptempl/Global.msvc.pp +++ b/dtool/pptempl/Global.msvc.pp @@ -57,7 +57,11 @@ #defer SED ppremake -s "$[script]" <$[source] >$[target] // Define this if we want to make .sbr files. +#if $[USE_BROWSEINFO] #defer BROWSEINFO_FLAG /Fr"$[osfilename $[target:%.obj=%.sbr]]" +#else +#define BROWSEINFO_FLAG +#endif #defer CFLAGS_SHARED #defer OPTFLAGS /O2 /Ob1 /Ogity /G6