putenv_entry *pe = Z_PTR_P(zv);
if (pe->previous_value) {
-#if _MSC_VER >= 1300
- /* VS.Net has a bug in putenv() when setting a variable that
+ /* MSVCRT has a bug in putenv() when setting a variable that
* is already set; if the SetEnvironmentVariable() API call
* fails, the Crt will double free() a string.
* We try to avoid this by setting our own value first */
SetEnvironmentVariable(pe->key, "bugbug");
-#endif
putenv(pe->previous_value);
# if defined(PHP_WIN32)
efree(pe->previous_value);
}
break;
-#if _MSC_VER >= 1500
case DNS_TYPE_NAPTR:
{
DNS_NAPTR_DATA * data_naptr = &pRec->Data.Naptr;
add_assoc_string(subarray, "replacement", data_naptr->pReplacement);
}
break;
-#endif
default:
/* unknown type */