1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

C software Integration issues.

Discussion in 'C' started by protocoder, May 5, 2007.

  1. protocoder

    protocoder New Member

    Joined:
    May 5, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi i am working on a project have third party libraries.
    One library defines #define int bool and other #define unsigned int bool.

    Now how can write a abstraction layer which requires me to include both the header files.

    Have build errors for re-definition and obviously i cannot ignore including any of the header files for other obvious errors.

    -- Surely cannot ask parties to build a new library for me !!
    My ideas till now are not working.
    Use of Macros, requires enormous changes and creation of other abstraction layer is not working. Is there any thing fundamental ans easy way to resolve this issue.. Please throw your ideas.


    Thanks
    AD
     

Share This Page