macintosh_carbon_safe.hppGo to the documentation of this file.00001 /* 00002 Copyright 2005-2007 Adobe Systems Incorporated 00003 Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt 00004 or a copy at http://stlab.adobe.com/licenses.html) 00005 */ 00006 00007 /****************************************************************************************************/ 00008 00009 #ifndef ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP 00010 #define ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP 00011 00012 /****************************************************************************************************/ 00013 00014 #ifdef __MWERKS__ 00015 #pragma warn_implicitconv off 00016 #endif 00017 00018 #include <Carbon/Carbon.h> 00019 00020 #ifdef __MWERKS__ 00021 #pragma warn_implicitconv reset 00022 #endif 00023 00024 /* 00025 REVISIT (sparent) : Apple insists that you include the entire Carbon/Carbon.h framework to 00026 use any of Carbon. This header file #defines check which conflicts with boost. The work- 00027 around is to undef check here. 00028 00029 (In an unbelieveable set of circumstances, I wrote the check macro!) 00030 */ 00031 00032 #ifdef check 00033 #undef check 00034 #endif 00035 00036 /****************************************************************************************************/ 00037 00038 #endif 00039 00040 /****************************************************************************************************/ | ||||

