[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Android problem
From: |
Bruno Haible |
Subject: |
Re: Android problem |
Date: |
Mon, 26 Dec 2022 02:13:01 +0100 |
Po Lu wrote:
> Someone asked me to port Emacs to Android.
Please be specific: Which Android API level are you using at compile-time?
And which Android version at run-time?
> In doing so noticed that the
> fpending module no longer works there
Please be specific: What do you mean by "not works"? Does not compile?
Does not return which value? In which environment? I.e. which Android app
are you using for the compile-time and run-time environment?
> , because struct FILE * is now:
>
> __BEGIN_DECLS
>
> /** The opaque structure implementing `FILE`. Do not make any assumptions
> about its content. */
> struct __sFILE {
> #if defined(__LP64__)
> char __private[152];
> #else
> char __private[84];
> #endif
> } __attribute__((aligned(sizeof(void*))));
>
> __END_DECLS
We have code in stdio-impl.h that works around this lack of details in the
struct.
Bruno