On 2010-02-23 08:59, Ludovic Rousseau wrote:
2010/2/23 Marcus Andersson<[email protected]>:
Hi,
I get a conflict on the definition of BOOL on OS X 10.6. How is this best
resolved?
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/PCSC.framework/Headers/wintypes.h:59:
error: conflicting types for 'BOOL'
/Developer/SDKs/MacOSX10.6.sdk/usr/include/objc/objc.h:43: error: previous
declaration of 'BOOL' was here
Just do not include wintypes.h in your source code.
That was not very convenient in my case. May I suggest a
#ifndef OBJC_BOOL_DEFINED
typedef int16_t BOOL;
#endif
Marcus
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle