Stop VC++ from warning "'getenv' : inconsistent dll linkage.
authorSteve Hay <SteveHay@planit.com>
Thu, 7 Jun 2007 13:49:04 +0000 (13:49 +0000)
committerSteve Hay <SteveHay@planit.com>
Thu, 7 Jun 2007 13:49:04 +0000 (13:49 +0000)
commit4ee50d44aab4daa2990af918a17df7200b6e468c
tree930e30bec8122b52942484664ec81a9f34f64ef3
parentb92ffa59657e7ca52a768410e906a43ca1ce814e
Stop VC++ from warning "'getenv' : inconsistent dll linkage.
dllexport assumed." when building with -DDEBUGGING by declaring
getenv() with the same __declspec as in Microsoft's <stdlib.h>.
MinGW/GCC is happy with that too, but Borland doesn't understand
_CRTIMP so don't bother for Borland since it doesn't warn anyway.

p4raw-id: //depot/perl@31350
x2p/a2p.c