mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-28 03:20:24 +00:00
Libretro: OSX buildfix (#304)
This commit is contained in:
parent
8183f7f8eb
commit
bbfaade22e
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user