Check-in [e3c6c05d95]
Overview
Comment:Updated to define __ANDROID__ on Android/ARM
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e3c6c05d95e4de9f96b34719df5ab10a0c42bb5c
User & Date: rkeene on 2014-05-18 01:07:34
Other Links: manifest | tags
Context
2014-05-18
01:08
More work on getting headers correctly made available check-in: 76ee8b8d3d user: rkeene tags: trunk
01:07
Updated to define __ANDROID__ on Android/ARM check-in: e3c6c05d95 user: rkeene tags: trunk
2014-05-17
16:42
Updated how headers are copied check-in: 82f7cb92d4 user: rkeene tags: trunk
Changes

Modified build/tcc-patches/0.9.26/tcc-0.9.26-android.diff from [e50bd7eb09] to [9961fb1614].

            1  +diff -uNr tcc-0.9.26.orig/libtcc.c tcc-0.9.26-1android/libtcc.c
            2  +--- tcc-0.9.26.orig/libtcc.c	2013-02-15 08:24:00.000000000 -0600
            3  ++++ tcc-0.9.26-1android/libtcc.c	2014-05-17 20:06:02.109312000 -0500
            4  +@@ -966,6 +966,12 @@
            5  + # endif
            6  + #endif
            7  + 
            8  ++#if defined(__ANDROID__)
            9  ++#  define str(s) #s
           10  ++    tcc_define_symbol(s, "__ANDROID__", str(__ANDROID__));
           11  ++#  undef str
           12  ++#endif
           13  ++
           14  +     /* TinyCC & gcc defines */
           15  + #if defined TCC_TARGET_PE && defined TCC_TARGET_X86_64
           16  +     tcc_define_symbol(s, "__SIZE_TYPE__", "unsigned long long");
     1     17   diff -uNr tcc-0.9.26.orig/tcc.h tcc-0.9.26-1android/tcc.h
     2     18   --- tcc-0.9.26.orig/tcc.h	2013-02-15 08:24:00.000000000 -0600
     3     19   +++ tcc-0.9.26-1android/tcc.h	2014-05-17 01:13:09.189016999 -0500
     4     20   @@ -43,7 +43,9 @@
     5     21    #ifndef _WIN32
     6     22    # include <unistd.h>
     7     23    # include <sys/time.h>