From 93c08696d74a7fbc8609f24574dbd57472e27c5b Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 10 Jul 2020 23:40:35 +0200 Subject: [PATCH] libretro, build fixes --- Makefile | 2 +- pico/pico_int.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 52382d4f..497a58a0 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ asm_32xmemory ?= 1 else use_fame ?= 1 use_cz80 ?= 1 -ifneq (,$(filter "$(ARCH)","x86" "i386" "mips" "aarch64" "riscv" "powerpc")) +ifneq (,$(filter x86% i386% mips% aarch% riscv% powerpc% ppc%, $(ARCH))) use_sh2drc ?= 1 endif endif diff --git a/pico/pico_int.h b/pico/pico_int.h index 78f32d0e..da063bc9 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -33,7 +33,7 @@ extern "C" { #endif -#ifdef UTYPES_DEFINED +#ifndef UTYPES_DEFINED typedef uint8_t u8; typedef int8_t s8; typedef uint16_t u16; -- 2.39.5