winecrt0: Android NDK seems not to have _init and _fini

André Hentschel nerv at dawncrow.de
Thu Sep 29 15:14:09 CDT 2011


---
 dlls/winecrt0/crt0_private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winecrt0/crt0_private.h b/dlls/winecrt0/crt0_private.h
index 05cf75d..b2c902e 100644
--- a/dlls/winecrt0/crt0_private.h
+++ b/dlls/winecrt0/crt0_private.h
@@ -21,7 +21,7 @@
 #ifndef __WINE_CRT0_PRIVATE_H__
 #define __WINE_CRT0_PRIVATE_H__
 
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__ANDROID__)
 static inline void _init(int argc, char **argv, char **envp ) { /* nothing */ }
 static inline void _fini(void) { /* nothing */ }
 #else
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list