ev1313 / Pascal-SDL-2-Headers

These are the Pascal SDL 2 Headers.
Mozilla Public License 2.0
114 stars 48 forks source link

Fix building on Android #60

Closed rumly111 closed 6 years ago

rumly111 commented 7 years ago

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)