Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   C software Integration issues. (http://www.go4expert.com/forums/c-software-integration-issues-t4143/)

protocoder 5May2007 10:03

C software Integration issues.
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.


All times are GMT +5.5. The time now is 06:57.