twinaphex 5ee38b157d (Wii) Add customized Wiiuse - should reduce overall input latency
(also debloats - no Guitar Hero 3/Wii Board/key down/key up)
2013-01-07 04:10:16 +01:00

29 lines
619 B
C

#ifndef __OS_H__
#define __OS_H__
#ifdef WIN32
/* windows */
#define isnan(x) _isnan(x)
#define isinf(x) !_finite(x)
/* disable warnings I don't care about */
#pragma warning(disable:4244) /* possible loss of data conversion */
#pragma warning(disable:4273) /* inconsistent dll linkage */
#pragma warning(disable:4217)
#else
/* nix/gekko */
#ifdef GEKKO
#include <gccore.h>
#include <ogcsys.h>
#include <bte/bte.h>
#include "network.h"
#include <ogc/lwp_queue.h>
#include <ogc/machine/asm.h>
#include <ogc/machine/processor.h>
#include <ogc/lwp_wkspace.h>
#else
#endif
#endif
#endif