Libretro: OSX buildfix (#304)

This commit is contained in:
bparker06 2018-01-06 14:36:47 -05:00 committed by SourMesen
parent 8183f7f8eb
commit bbfaade22e
2 changed files with 4 additions and 1 deletions

View File

@ -249,7 +249,7 @@ include Makefile.common
OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_CXX:.cpp=.o)
CFLAGS += -Wall -D LIBRETRO $(fpic)
CXXFLAGS += -Wall -D LIBRETRO $(fpic) -std=c++17
CXXFLAGS += -Wall -D LIBRETRO $(fpic) -std=c++14
all: $(TARGET)

View File

@ -38,7 +38,10 @@
#include <assert.h>
#include <stdlib.h>
#ifndef __MACH__
#include <malloc.h>
#endif
#define SSDST(bits, num) (scale2x_uint##bits *)dst##num
#define SSSRC(bits, num) (const scale2x_uint##bits *)src##num