summaryrefslogtreecommitdiff
path: root/src/libreal/real_common.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 20:21:40 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 20:21:40 +0000
commit066220e7145c94fd6751c0631374ef3b34dc983c (patch)
tree377d6e22911eb183f487f272acd55e7743663ec9 /src/libreal/real_common.c
parentfd70a41ac6df0c3c19458cd9fb9ebcc5c54b8c84 (diff)
downloadxine-lib-066220e7145c94fd6751c0631374ef3b34dc983c.tar.gz
xine-lib-066220e7145c94fd6751c0631374ef3b34dc983c.tar.bz2
For FreeBSD support, alias the __environ and stderr symbols, unavailable there, to their equivalent symbols. This could be improved by adding a configure-time check for this.
CVS patchset: 8681 CVS date: 2007/03/16 20:21:40
Diffstat (limited to 'src/libreal/real_common.c')
-rw-r--r--src/libreal/real_common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libreal/real_common.c b/src/libreal/real_common.c
index 9df428106..c4afcbeea 100644
--- a/src/libreal/real_common.c
+++ b/src/libreal/real_common.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: real_common.c,v 1.1 2007/03/16 20:02:33 dgp85 Exp $
+ * $Id: real_common.c,v 1.2 2007/03/16 20:21:40 dgp85 Exp $
*
* Common function for the thin layer to use Real binary-only codecs in xine
*/
@@ -55,3 +55,8 @@ void __pure_virtual(void) {
}
#endif
+
+#ifdef __FreeBSD__ /* TODO: alias them if at all possible */
+void ___brk_addr(void) { exit(0); }
+void __ctype_b(void) { exit(0); }
+#endif