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