change PAD_ScanPads()s behaviour. the return value now contains a bitmask of the...
[libogc.git] / wiiuse / os.h
blobc98c47a56e005da83a1603d45236c7e99a807a41
1 #ifndef __OS_H__
2 #define __OS_H__
4 #ifdef WIN32
5 /* windows */
6 #define isnan(x) _isnan(x)
7 #define isinf(x) !_finite(x)
9 /* disable warnings I don't care about */
10 #pragma warning(disable:4244) /* possible loss of data conversion */
11 #pragma warning(disable:4273) /* inconsistent dll linkage */
12 #pragma warning(disable:4217)
13 #else
14 /* nix/gekko */
15 #ifdef GEKKO
16 #include <gccore.h>
17 #include <ogcsys.h>
18 #include "bte.h"
19 #include "network.h"
20 #include "lwp_queue.h"
21 #include "asm.h"
22 #include "processor.h"
23 #include "lwp_wkspace.h"
24 #else
25 #endif
26 #endif
28 #endif