diff --git a/Makefile.win32 b/Makefile.win32 index efdd7de4e0..216e3f6c17 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -82,7 +82,7 @@ ifeq ($(HAVE_FBO), 1) endif ifeq ($(HAVE_DYLIB), 1) - OBJ += gfx/ext.c + OBJ += gfx/ext.o endif ifneq ($(V),1) diff --git a/Makefile.win64 b/Makefile.win64 index 57b801c9c2..414dd440cd 100644 --- a/Makefile.win64 +++ b/Makefile.win64 @@ -82,7 +82,7 @@ ifeq ($(HAVE_FBO), 1) endif ifeq ($(HAVE_DYLIB), 1) - OBJ += gfx/ext.c + OBJ += gfx/ext.o endif diff --git a/gfx/ext/ssnes_video.h b/gfx/ext/ssnes_video.h index 9134687281..7ef107c046 100644 --- a/gfx/ext/ssnes_video.h +++ b/gfx/ext/ssnes_video.h @@ -11,7 +11,7 @@ extern "C" { #endif #ifdef _WIN32 -#define SSNES_API_DECL __decltype(dllexport) __cdecl +#define SSNES_API_DECL __declspec(dllexport) __cdecl #else #define SSNES_API_DECL #endif