36 * Portions created by the Initial Developer are Copyright (C) 1998
37 * the Initial Developer. All Rights Reserved.
38 *
39 * Contributor(s):
40 * Netscape Communications Corporation
41 *
42 * Alternatively, the contents of this file may be used under the terms of
43 * either the GNU General Public License Version 2 or later (the "GPL"), or
44 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
45 * in which case the provisions of the GPL or the LGPL are applicable instead
46 * of those above. If you wish to allow use of your version of this file only
47 * under the terms of either the GPL or the LGPL, and not to allow others to
48 * use your version of this file under the terms of the MPL, indicate your
49 * decision by deleting the provisions above and replace them with the notice
50 * and other provisions required by the GPL or the LGPL. If you do not delete
51 * the provisions above, a recipient may use your version of this file under
52 * the terms of any one of the MPL, the GPL or the LGPL.
53 *
54 *********************************************************************** */
55 /*
56 * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
57 * Use is subject to license terms.
58 */
59
60 #ifndef _MPI_H
61 #define _MPI_H
62
63 /* $Id: mpi.h,v 1.22 2004/04/27 23:04:36 gerv%gerv.net Exp $ */
64
65 #include "mpi-config.h"
66
67 #ifndef _WIN32
68 #include <sys/param.h>
69 #endif /* _WIN32 */
70
71 #ifdef _KERNEL
72 #include <sys/debug.h>
73 #include <sys/systm.h>
74 #define assert ASSERT
75 #define labs(a) (a >= 0 ? a : -a)
76 #define UCHAR_MAX 255
|
36 * Portions created by the Initial Developer are Copyright (C) 1998
37 * the Initial Developer. All Rights Reserved.
38 *
39 * Contributor(s):
40 * Netscape Communications Corporation
41 *
42 * Alternatively, the contents of this file may be used under the terms of
43 * either the GNU General Public License Version 2 or later (the "GPL"), or
44 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
45 * in which case the provisions of the GPL or the LGPL are applicable instead
46 * of those above. If you wish to allow use of your version of this file only
47 * under the terms of either the GPL or the LGPL, and not to allow others to
48 * use your version of this file under the terms of the MPL, indicate your
49 * decision by deleting the provisions above and replace them with the notice
50 * and other provisions required by the GPL or the LGPL. If you do not delete
51 * the provisions above, a recipient may use your version of this file under
52 * the terms of any one of the MPL, the GPL or the LGPL.
53 *
54 *********************************************************************** */
55 /*
56 * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
57 * Use is subject to license terms.
58 */
59
60 #ifndef _MPI_H
61 #define _MPI_H
62
63 /* $Id: mpi.h,v 1.22 2004/04/27 23:04:36 gerv%gerv.net Exp $ */
64
65 #include "mpi-config.h"
66
67 #ifndef _WIN32
68 #include <sys/param.h>
69 #endif /* _WIN32 */
70
71 #ifdef _KERNEL
72 #include <sys/debug.h>
73 #include <sys/systm.h>
74 #define assert ASSERT
75 #define labs(a) (a >= 0 ? a : -a)
76 #define UCHAR_MAX 255
|