summaryrefslogtreecommitdiffstats
path: root/external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1')
-rw-r--r--external/python3/0001-remove-long-double-from-ctypes-value-union.patch.112
1 files changed, 6 insertions, 6 deletions
diff --git a/external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1 b/external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1
index 8cdaf84de37c..c7c6809bcb80 100644
--- a/external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1
+++ b/external/python3/0001-remove-long-double-from-ctypes-value-union.patch.1
@@ -14,17 +14,17 @@ index 0d3f7241ca..d80ea82cee 100644
--- a/Modules/_ctypes/ctypes.h
+++ b/Modules/_ctypes/ctypes.h
@@ -34,7 +34,6 @@ union value {
- #ifdef HAVE_LONG_LONG
- PY_LONG_LONG ll;
- #endif
+ float f;
+ double d;
+ long long ll;
- long double D;
};
/*
@@ -306,7 +305,6 @@ struct tagPyCArgObject {
- #ifdef HAVE_LONG_LONG
- PY_LONG_LONG q;
- #endif
+ int i;
+ long l;
+ long long q;
- long double D;
double d;
float f;