mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones
This commit is contained in:
parent
8c39460da9
commit
9b3caa8d68
@ -23,14 +23,16 @@ elif CONFIG['OS_TARGET'] == 'Darwin':
|
||||
DEFINES['HAVE_SYS_UIO_H'] = True
|
||||
DEFINES['off64_t'] = 'off_t'
|
||||
LOCAL_INCLUDES += [ 'ports/darwin/include' ]
|
||||
elif CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'OpenBSD', 'NetBSD'):
|
||||
if not CONFIG['OS_TARGET'] == 'NetBSD':
|
||||
elif CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'OpenBSD', 'NetBSD',
|
||||
'GNU/kFreeBSD'):
|
||||
if CONFIG['OS_TARGET'] != 'NetBSD':
|
||||
DEFINES['ENODATA'] = '-0x80000003'
|
||||
if CONFIG['OS_TARGET'] == 'OpenBSD':
|
||||
DEFINES['EBADMSG'] = '-0x80000006'
|
||||
DEFINES['HAVE_SYS_UIO_H'] = True
|
||||
DEFINES['off64_t'] = 'off_t'
|
||||
LOCAL_INCLUDES += [ 'ports/bsd/include' ]
|
||||
if CONFIG['OS_TARGET'] != 'GNU/kFreeBSD':
|
||||
DEFINES['off64_t'] = 'off_t'
|
||||
LOCAL_INCLUDES += [ 'ports/bsd/include' ]
|
||||
else:
|
||||
DEFINES['HAVE_SYS_UIO_H'] = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user