/*---------------------------------------------------------------------------* Project: NintendoWare File: sdk.h Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Revision: 13145 $ *---------------------------------------------------------------------------*/ #ifndef SDK_H_ #define SDK_H_ #include #if defined(NW_PLATFORM_CTR) || defined(NW_PLATFORM_CTRWIN) #define CtrMain nnMain #endif #if defined(NW_PLATFORM_CTR) #include #define OS_Init nn::os::Initialize #define OS_Exit (void) #ifndef OS_Printf #define OS_Printf(...) NN_LOG(__VA_ARGS__) #endif #endif #if defined(NW_PLATFORM_TWL) #include #define CtrMain TwlMain #define nnMain TwlMain #endif /* SDK_H_ */ #endif