From 635661b6a51eea3bfd7e49c4cbfabbfee61b162a Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 4 Oct 2023 15:56:50 +0300
Subject: [PATCH] blargg_source.h: remove duplicated BLARGG_EXPORT defines
they are only needed in gme.cpp/gme.h, and aren't needed
here anymore.
---
gme/blargg_source.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/gme/blargg_source.h b/gme/blargg_source.h
index acf9204..d03b094 100644
--- a/gme/blargg_source.h
+++ b/gme/blargg_source.h
@@ -62,21 +62,6 @@
#define byte byte_
typedef unsigned char byte;
-/* Setup compiler defines useful for exporting required public API symbols in gme.cpp */
-#ifndef BLARGG_EXPORT
- #if defined (_WIN32)
- #if defined(BLARGG_BUILD_DLL)
- #define BLARGG_EXPORT __declspec(dllexport)
- #else
- #define BLARGG_EXPORT /* Leave blank: friendly with both static and shared linking */
- #endif
- #elif defined (LIBGME_VISIBILITY)
- #define BLARGG_EXPORT __attribute__((visibility ("default")))
- #else
- #define BLARGG_EXPORT
- #endif
-#endif
-
/* deprecated */
#define BLARGG_CHECK_ALLOC CHECK_ALLOC
#define BLARGG_RETURN_ERR RETURN_ERR