[pypy-svn] r18845 - pypy/dist/pypy/translator/c/src

tismer at codespeak.net tismer at codespeak.net
Sun Oct 23 20:20:25 CEST 2005


Author: tismer
Date: Sun Oct 23 20:20:24 2005
New Revision: 18845

Modified:
   pypy/dist/pypy/translator/c/src/ll_os.h
Log:
removed definitions covered by ll_osdefs.h

Modified: pypy/dist/pypy/translator/c/src/ll_os.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/ll_os.h	(original)
+++ pypy/dist/pypy/translator/c/src/ll_os.h	Sun Oct 23 20:20:24 2005
@@ -265,15 +265,6 @@
 
 /* Return a dictionary corresponding to the POSIX environment table */
 /*** actually, we create a string list here and do the rest in posix */
-#ifdef WITH_NEXT_FRAMEWORK
-/* On Darwin/MacOSX a shared library or framework has no access to
-** environ directly, we must obtain it with _NSGetEnviron().
-*/
-#include <crt_externs.h>
-static char **environ;
-#elif !defined(_MSC_VER) && ( !defined(__WATCOMC__) || defined(__QNX__) )
-extern char **environ;
-#endif /* !_MSC_VER */
 
 RPyString* LL_os_environ(int idx) {
     RPyString *rs = NULL;



More information about the Pypy-commit mailing list