FPC for Android target defines both ANDROID and UNIX macro. But then unit X and Xlib are used, which Android doesn't have.
I also modified record __WMINFO_ANDROID. Instead of undefined PANativeWindow and PEGLSurface types I simply put Pointer (since those fields ARE pointers, and we won't use those anyways)
FPC for Android target defines both ANDROID and UNIX macro. But then unit X and Xlib are used, which Android doesn't have.
I also modified record __WMINFO_ANDROID. Instead of undefined PANativeWindow and PEGLSurface types I simply put Pointer (since those fields ARE pointers, and we won't use those anyways)