bloomberg/bde

baltzo_defaultzoneinfocache.cpp: Error: The function "getenv" must have a prototype.

avysotsk opened this issue · 1 comments

Compilation if file groups/bal/baltzo/baltzo_defaultzoneinfocache.cpp fails with the following error message:
"../groups/bal/baltzo/baltzo_defaultzoneinfocache.cpp", line 81: Error: The function "getenv" must have a prototype.

The solution is to change line 81 of the mentioned above file
from
const char *envValue = getenv("BDE_ZONEINFO_ROOT_PATH");
to
const char *envValue = bsl::getenv("BDE_ZONEINFO_ROOT_PATH");

So, to add namespace name.

Closing stale issues.