some portability cleanups

This commit is contained in:
notaz 2017-10-13 23:30:44 +03:00
parent 7612bf90be
commit bce144211c
4 changed files with 21 additions and 25 deletions

View file

@ -1,11 +1,7 @@
#ifndef __SH2_H__
#define __SH2_H__
#if !defined(REGPARM) && defined(__i386__)
#define REGPARM(x) __attribute__((regparm(x)))
#else
#define REGPARM(x)
#endif
#include "../../pico/pico_port.h"
// registers - matches structure order
typedef enum {