/*---------------------------------------------------------------------------* Project: NintendoWare File: sdk.h Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo and/or its licensed developers and are protected by national and international copyright laws. 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. The content herein is highly confidential and should be handled accordingly. $Revision: 31311 $ *---------------------------------------------------------------------------*/ #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