From 55da4424270d3e5ecf6c30dffe2c44c205635711 Mon Sep 17 00:00:00 2001 From: sandyx86 Date: Wed, 24 Jul 2024 09:23:07 -0500 Subject: [PATCH] change some stuff --- archive.c | 2 +- objc/objc-decls.h | 18 +----------------- config/x86_64/linux-gnu/tconfig.h => tconfig.h | 0 3 files changed, 2 insertions(+), 18 deletions(-) rename config/x86_64/linux-gnu/tconfig.h => tconfig.h (100%) diff --git a/archive.c b/archive.c index 889e215..f2571d3 100644 --- a/archive.c +++ b/archive.c @@ -737,7 +737,7 @@ objc_read_unsigned_long (struct objc_typed_stream *stream, return len; } -inline int +static int objc_read_string (struct objc_typed_stream *stream, char **string) { diff --git a/objc/objc-decls.h b/objc/objc-decls.h index a9f67a1..c47579c 100644 --- a/objc/objc-decls.h +++ b/objc/objc-decls.h @@ -27,24 +27,8 @@ Boston, MA 02110-1301, USA. */ #ifndef __objc_decls_INCLUDE_GNU #define __objc_decls_INCLUDE_GNU -#if !defined(__MINGW32__) && (defined (_WIN32) || defined (__WIN32__) || defined (WIN32)) - -# The following code is not needed on MinGW >= 5.1.3 since the compiler will automatically -# determine which symbols to import/export, at least when compiling using gnustep-make. - -#ifdef BUILD_libobjc_DLL /* defined by gnustep-make when compiling libobjc itself */ -# define objc_EXPORT __declspec(dllexport) -# define objc_DECLARE __declspec(dllexport) -#else -# define objc_EXPORT extern __declspec(dllimport) -# define objc_DECLARE extern __declspec(dllimport) -#endif - -#else - # define objc_EXPORT extern # define objc_DECLARE #endif - -#endif /* __objc_decls_INCLUDE_GNU */ + /* __objc_decls_INCLUDE_GNU */ diff --git a/config/x86_64/linux-gnu/tconfig.h b/tconfig.h similarity index 100% rename from config/x86_64/linux-gnu/tconfig.h rename to tconfig.h