So I\'m having issues with some code that I\'ve inherited. This code was building fine in a C-only environment, but now I need to use C++ to call this code. The header p
p
You should use the __cplusplus macro:
__cplusplus
#ifndef __cplusplus #ifndef _BOOL typedef unsigned char bool; static const bool False = 0; static const bool True = 1; #endif #endif
Check out this link to the C++ FAQ for further details.