Changeset 1473 for branches/reyalp-flt


Ignore:
Timestamp:
12/11/11 06:32:00 (18 months ago)
Author:
reyalp
Message:

workaround for pointer in flt header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-flt/tools/elf2flt/flt.h

    r1467 r1473  
    2323    union { 
    2424        uint32_t rev;                           /* version (as above) */ 
    25                 void*    runtime_bind_callback; // while loaded: callback to chdk binder function  
     25// ensure this is only a pointer on the target, not on (possibly 64 bit) hosts 
     26#ifdef HDK_VERSION 
     27        void * runtime_bind_callback; // while loaded: callback to chdk binder function  
     28#else 
     29        uint32_t runtime_bind_callback; // while loaded: callback to chdk binder function  
     30#endif 
    2631    }; 
    2732    uint32_t entry;        /* Offset of first executable instruction 
Note: See TracChangeset for help on using the changeset viewer.