Project: Real Player for MID - ARM.

Synopsis: Fix for Compilation issue on ARM

Overview:

During cross compilation for ARM, inside audio/fixptresampler, we usually
get this error:

In file included from resample.c:51:
core.h:43: error: redefinition of typedef 'uint'
/usr/include/sys/types.h:153: error: previous declaration of 'uint' was here

To fix that, wrapped this inside _ARM define.
Find diff below.

Files Modified:
audio/fixptresampler/core.h

Image Size and Heap Use impact (Client -Only):
None.

Platforms and Profiles Affected:
None.

Distribution Libraries Affected:
None.

Distribution library impact and planned action:
None.

Platforms and Profiles Build Verified:
BIF: hxcleint_3_1_0_atlas_restricted
Target: player_mid_all_installers
Profile: helix-client-moblin

Branch:
Atlas310

Thanks,
Deepak Jain

Index: core.h
===================================================================
RCS file: /cvsroot/audio/fixptresampler/core.h,v
retrieving revision 1.2
diff -u -r1.2 core.h
--- core.h      30 Mar 2007 09:36:45 -0000      1.2
+++ core.h      28 Aug 2009 08:31:02 -0000
@@ -40,7 +40,9 @@
  * Internal state.
  */

+#ifndef _ARM
 typedef unsigned int uint;
+#endif //_ARM

 typedef struct state_t {
        int up;



_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to