1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: math_Config.h 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Revision: 17998 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NW_MATH_CONFIG_H_ 17 #define NW_MATH_CONFIG_H_ 18 19 #include <nw/types.h> 20 #include <nn.h> 21 22 #ifdef WIN32 23 // DolphinSDKのMTXライブラリをPCでビルドしたものを利用している 24 #define NW_MATH_GENERIC 25 #endif 26 27 #define NW_MATH_WARNING NW_WARNING 28 #define NW_MATH_REPORT nwosPrintf 29 30 #define NW_MATH_AS_INLINE 31 32 #if defined(NW_MATH_AS_INLINE) 33 #define NW_MATH_INLINE inline 34 #else 35 #define NW_MATH_INLINE 36 #endif 37 38 39 40 #if defined( NW_PLATFORM_CTR ) && ! defined( NW_DEBUG ) 41 42 #if ! defined( NW_MATH_UNUSE_ASM ) && ! defined( NW_MATH_USE_ASM ) 43 #define NW_MATH_USE_ASM 44 #endif 45 46 #endif 47 48 /* NW_MATH_CONFIG_H_ */ 49 #endif 50