Ticket #38889: patch-src-control.c.diff

File patch-src-control.c.diff, 1.0 KB (added by dcarmich@…, 11 years ago)

control.c patch for libxmp

Line 
1*** src/control.c~      2013-04-22 19:07:53.000000000 -0500
2--- src/control.c       2013-04-22 19:08:42.000000000 -0500
3***************
4*** 213,219 ****
5        return ret;
6  }
7 
8! #if defined(__GNUC__) && !defined(WIN32) && !defined(ANDROID)
9  extern int xmp_set_player_v41__(xmp_context, int, int)
10        __attribute__((alias("xmp_set_player_v40__")));
11 
12--- 213,219 ----
13        return ret;
14  }
15 
16! #if defined(__GNUC__) && !defined(WIN32) && !defined(ANDROID) && !defined(__APPLE__)
17  extern int xmp_set_player_v41__(xmp_context, int, int)
18        __attribute__((alias("xmp_set_player_v40__")));
19 
20***************
21*** 280,286 ****
22        return ret;
23  }
24 
25! #if defined(__GNUC__) && !defined(WIN32) && !defined(ANDROID)
26  extern int xmp_get_player_v41__(xmp_context, int)
27        __attribute__((alias("xmp_get_player_v40__")));
28 
29--- 280,286 ----
30        return ret;
31  }
32 
33! #if defined(__GNUC__) && !defined(WIN32) && !defined(ANDROID) && !defined(__APPLE__)
34  extern int xmp_get_player_v41__(xmp_context, int)
35        __attribute__((alias("xmp_get_player_v40__")));
36