=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winecrt0: Android NDK doesn' t have _init and _fini.

Alexandre Julliard julliard at winehq.org
Mon Mar 11 16:24:52 CDT 2013


Module: wine
Branch: master
Commit: e0f3e6bcf2045c6a0ff00af631a508dabd13420f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e0f3e6bcf2045c6a0ff00af631a508dabd13420f

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Mar 10 12:04:00 2013 +0100

winecrt0: Android NDK doesn't have _init and _fini.

---

 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




More information about the wine-cvs mailing list