Ug, never reply to the list with gna...
On 2015-08-19 10:11 AM, Trent Gamblin wrote:
As long as it's verified to work, no harm in it.
On 2015-08-19 12:36 AM, Jon Rafkind wrote:
Right now the android port won't build for the android x86_64 target
because pointers are passed around as int's. I think this can be
worked around by passing around 'jlong', which is guaranteed to be
64-bits.
The build will fail on x86_64 due to line 24 of android_input_stream.c
ALLEGRO_STATIC_ASSERT(android, sizeof(int) == sizeof(ALLEGRO_FILE *));
The AllegroInputStream class currently accepts uses 'int' for the
handle, but could be changed to use 'long' (which corresponds to
jlong in the jni code). In this way, both 32-bit and 64-bit pointers
will be able to be stored in a handle.
I can send a patch and/or just commit it if this sounds fine.
_______________________________________________
Allegro-developers mailing list
[email protected]
https://mail.gna.org/listinfo/allegro-developers