Mercurial > mxe-octave
annotate src/mingw-w64-1-float-h.patch @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | c366dab2350c |
children |
rev | line source |
---|---|
4901 | 1 This file is part of MXE. See LICENSE.md for licensing information. |
3736 | 2 |
5761
c366dab2350c
mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
4901
diff
changeset
|
3 Contains ad hoc patches for cross building. |
c366dab2350c
mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
4901
diff
changeset
|
4 |
4901 | 5 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
6 From: Mark Brand <mabrand@mabrand.nl> | |
7 Date: Sun, 29 Mar 2015 14:36:38 +0200 | |
5761
c366dab2350c
mingw-w64: update to v8.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
4901
diff
changeset
|
8 Subject: [PATCH 1/1] workaround for -isystem flag messing up include order |
4901 | 9 |
3736 | 10 https://bugzilla.redhat.com/show_bug.cgi?id=843436 |
11 | |
4901 | 12 diff --git a/mingw-w64-headers/crt/float.h b/mingw-w64-headers/crt/float.h |
13 index 1111111..2222222 100644 | |
14 --- a/mingw-w64-headers/crt/float.h | |
15 +++ b/mingw-w64-headers/crt/float.h | |
16 @@ -114,6 +114,15 @@ | |
3736 | 17 #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ |
18 #define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__ | |
19 | |
20 + /* The difference between 1 and the least value greater than 1 that is | |
21 + representable in the given floating point type, b**1-p. */ | |
22 + #undef FLT_EPSILON | |
23 + #undef DBL_EPSILON | |
24 + #undef LDBL_EPSILON | |
25 + #define FLT_EPSILON __FLT_EPSILON__ | |
26 + #define DBL_EPSILON __DBL_EPSILON__ | |
27 + #define LDBL_EPSILON __LDBL_EPSILON__ | |
28 + | |
29 /* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ | |
30 /* ??? This is supposed to change with calls to fesetround in <fenv.h>. */ | |
31 #undef FLT_ROUNDS |