equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 #ifdef _ALLBSD_SOURCE |
26 #ifdef _ALLBSD_SOURCE |
27 #include <machine/endian.h> |
27 #include <machine/endian.h> |
28 #elif __linux__ |
28 #elif defined(__linux__) |
29 #define __USE_BSD 1 |
29 #define __USE_BSD 1 |
30 #include <endian.h> |
30 #include <endian.h> |
31 #endif |
31 #endif |
32 #include "jfdlibm.h" |
32 #include "jfdlibm.h" |
33 |
33 |