Check-in [b8eb9903c6]
Overview
Comment:Updated to define more things
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b8eb9903c63e5c1050867ffb2b9f75e50e36f5a2
User & Date: rkeene on 2014-06-23 20:02:58
Other Links: manifest | tags
Context
2014-06-23
20:12
tcc4tcl 0.21 check-in: 7c6bbf8a11 user: rkeene tags: trunk, 0.21
20:02
Updated to define more things check-in: b8eb9903c6 user: rkeene tags: trunk
19:46
Updated to include more detailed CURL test check-in: aa5e861dc0 user: rkeene tags: trunk
Changes

Added build/tcc-patches/0.9.26/tcc-0.9.26-extradefines.diff version [e92b8040bc].

            1  +diff -uNr tcc-0.9.26.orig/libtcc.c tcc-0.9.26-1extradefines/libtcc.c
            2  +--- tcc-0.9.26.orig/libtcc.c	2013-02-15 08:24:00.000000000 -0600
            3  ++++ tcc-0.9.26-1extradefines/libtcc.c	2014-06-23 15:00:38.479507000 -0500
            4  +@@ -980,6 +980,9 @@
            5  + #else
            6  +     tcc_define_symbol(s, "__WCHAR_TYPE__", "int");
            7  + #endif
            8  ++#ifdef __LP64__
            9  ++    tcc_define_symbol(s, "__LP64__", "1");
           10  ++#endif
           11  + 
           12  + #ifndef TCC_TARGET_PE
           13  +     /* glibc defines */

Modified test.tcl from [49b187426d] to [e367198f71].

   113    113   	load $tmpfile myPkg
   114    114   	puts [ext_add 1 42]
   115    115   	file delete $tmpfile
   116    116   }
   117    117   
   118    118   # More involved test
   119    119   set handle [tcc4tcl::new]
   120         -$handle ccode {#include <curl/curl.h>}
          120  +$handle ccode {
          121  +#include <stdint.h>
          122  +#include <curl/curl.h>
          123  +}
   121    124   $handle cwrap curl_version {} vstring
   122    125   $handle cproc curl_fetch {char* url} ok {
   123    126   	void *handle;
   124    127   
   125    128   	handle = curl_easy_init();
   126    129   	if (!handle) {
   127    130   		return(TCL_ERROR);