From 605949d48239551f721f5e8110d5f1001a2b2623 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Tue, 2 Oct 2007 09:08:08 +0000 Subject: Hide symbols by default on 64 bit sim buildsto avoid clashing, fixes crashing on track change with the same codec, crashing in calculator and text display in midiplay git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14953 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs.h') diff --git a/apps/codecs.h b/apps/codecs.h index 50bc36baa2..a59a791d42 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -267,7 +267,8 @@ extern unsigned char plugin_end_addr[]; #else /* def SIMULATOR */ /* decoders */ #define CODEC_HEADER \ - const struct codec_header __header = { \ + const struct codec_header __header \ + __attribute__((visibility("default"))) = { \ CODEC_MAGIC, TARGET_ID, CODEC_API_VERSION, \ NULL, NULL, codec_start }; /* encoders */ -- cgit v1.2.3