C software Integration issues.

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

  1. protocoder

    protocoder New Member

    May 5, 2007
    Likes Received:
    Trophy Points:
    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.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice