param.h (ac847dbf73685a5df9f70bbcdefa9fdeb559071d) param.h (2b68eb8e1dbbdaf6a0df1c83b26f5403ca52d4c3)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1982, 1986, 1989, 1993
5 * The Regents of the University of California. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 62 unchanged lines hidden (view full) ---

71 * The approved way to obtain this from a shell script is:
72 * awk '/^\#define[[:space:]]*__FreeBSD_version/ {print $3}'
73 * Other methods to parse this file may work, but are not guaranteed against
74 * future changes. The above script works back to FreeBSD 3.x when this macro
75 * was introduced. This number is propagated to other places needing it that
76 * cannot include sys/param.h and should only be updated here.
77 */
78#undef __FreeBSD_version
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1982, 1986, 1989, 1993
5 * The Regents of the University of California. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 62 unchanged lines hidden (view full) ---

71 * The approved way to obtain this from a shell script is:
72 * awk '/^\#define[[:space:]]*__FreeBSD_version/ {print $3}'
73 * Other methods to parse this file may work, but are not guaranteed against
74 * future changes. The above script works back to FreeBSD 3.x when this macro
75 * was introduced. This number is propagated to other places needing it that
76 * cannot include sys/param.h and should only be updated here.
77 */
78#undef __FreeBSD_version
79#define __FreeBSD_version 1400036
79#define __FreeBSD_version 1400037
80
81/*
82 * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
83 * which by definition is always true on FreeBSD. This macro is also defined
84 * on other systems that use the kernel of FreeBSD, such as GNU/kFreeBSD.
85 *
86 * It is tempting to use this macro in userland code when we want to enable
87 * kernel-specific routines, and in fact it's fine to do this in code that

--- 305 unchanged lines hidden ---
80
81/*
82 * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
83 * which by definition is always true on FreeBSD. This macro is also defined
84 * on other systems that use the kernel of FreeBSD, such as GNU/kFreeBSD.
85 *
86 * It is tempting to use this macro in userland code when we want to enable
87 * kernel-specific routines, and in fact it's fine to do this in code that

--- 305 unchanged lines hidden ---