winecrt0: Android NDK doesn't have _init and _fini
André Hentschel
nerv at dawncrow.de
Sun Mar 10 06:04:00 CDT 2013
Resend of my patch from 2011-09-29 20:14:09
---
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
--
1.7.4.1
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list