getenv() replacement not required

This commit is contained in:
Andrew MacIntyre 2002-12-31 11:20:37 +00:00
parent 978697bf03
commit 7c90a8950a

View File

@ -10,8 +10,6 @@
REF (Py_Main);
#if defined (__EMX__)
#include <signal.h>
extern int _CRT_init (void);
@ -38,17 +36,3 @@ unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
return 0;
}
}
#endif
/* A version of getenv() that works from DLLs */
extern int DosScanEnv (const char *pszName, char **ppszValue);
char *getenv (const char *name)
{
char *value;
if (DosScanEnv (name, &value))
return NULL;
else
return value;
}