make __wine_get_main_environment static if not exported
Marcin Baczyński
marbacz at gmail.com
Thu Nov 12 10:29:22 CST 2009
---
libs/wine/loader.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libs/wine/loader.c b/libs/wine/loader.c
index 37c603e..8d1b366 100644
--- a/libs/wine/loader.c
+++ b/libs/wine/loader.c
@@ -488,6 +488,9 @@ static void *map_dll( const IMAGE_NT_HEADERS *nt_descr )
* Return an environment pointer to work around lack of environ variable.
* Only exported on Mac OS.
*/
+#ifndef __APPLE__
+static
+#endif
char **__wine_get_main_environment(void)
{
return environ;
--
1.6.5.2
More information about the wine-patches
mailing list