зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc Modified files: _linux.cfg _linux.h
This commit is contained in:
Родитель
4b8def40c4
Коммит
8a43011e3b
|
@ -51,7 +51,11 @@
|
|||
#define LINUX
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD_kernel__
|
||||
#define PR_AF_INET6 28 /* same as AF_INET6 */
|
||||
#else
|
||||
#define PR_AF_INET6 10 /* same as AF_INET6 */
|
||||
#endif
|
||||
|
||||
#ifdef __powerpc64__
|
||||
|
||||
|
|
|
@ -35,6 +35,11 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/*
|
||||
* This file is used by not only Linux but also other glibc systems
|
||||
* such as GNU/Hurd and GNU/k*BSD.
|
||||
*/
|
||||
|
||||
#ifndef nspr_linux_defs_h___
|
||||
#define nspr_linux_defs_h___
|
||||
|
||||
|
@ -90,6 +95,10 @@
|
|||
#define HAVE_DLL
|
||||
#define USE_DLFCN
|
||||
|
||||
#ifdef __FreeBSD_kernel__
|
||||
#define _PR_HAVE_SOCKADDR_LEN
|
||||
#endif
|
||||
|
||||
#if defined(__i386__)
|
||||
#define _PR_HAVE_ATOMIC_OPS
|
||||
#define _MD_INIT_ATOMIC()
|
||||
|
|
Загрузка…
Ссылка в новой задаче