1 /*---------------------------------------------------------------------------*
2 
3   Copyright (C) 2012 Nintendo.  All rights reserved.
4 
5   These coded instructions, statements, and computer programs contain
6   proprietary information of Nintendo of America Inc. and/or Nintendo
7   Company Ltd., and are protected by Federal copyright law.  They may
8   not be disclosed to third parties or copied or duplicated in any form,
9   in whole or in part, without the prior written consent of Nintendo.
10 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef NN_CONFIG_CONFIG_PLATFORM_H_
14 #define NN_CONFIG_CONFIG_PLATFORM_H_
15 
16 #if defined(_WIN32) || defined(_WIN64)
17 
18     #define NN_PLATFORM_WIN32
19     #define NN_CONFIG_PLATFORM_WINDOWS // obsoleted
20     #define NN_PLATFORM_WINDOWS // obsoleted
21 
22 #else
23 
24     #define NN_CONFIG_PLATFORM_CAFE
25     #ifndef NN_PLATFORM_CAFE
26         #define NN_PLATFORM_CAFE
27     #endif
28 
29     #if defined(NN_PLATFORM_CAFE)
30         #define NN_CONFIG_PLATFORM_CAFE_DEV_IOP
31         #define NN_PLATFORM_CAFE_DEV_IOP
32     #endif
33 
34     #if !defined(IOP_BUILD)
35 
36         #define NN_CONFIG_PLATFORM_CAFE_COS
37         #define NN_PLATFORM_CAFE_COS
38 
39     #else
40 
41         #define NN_PLATFORM_CAFE_IOS
42         #define NN_CONFIG_PLATFORM_CAFE_IOP
43         #define NN_PLATFORM_CAFE_IOP
44 
45     #endif
46 
47 #endif
48 
49 #endif // NN_CONFIG_CONFIG_PLATFORM_H_
50