Skip to content

Instantly share code, notes, and snippets.

@redj
Created June 10, 2018 22:13
Show Gist options
  • Save redj/b4e28813c78d4009cba9e4565429e19f to your computer and use it in GitHub Desktop.
Save redj/b4e28813c78d4009cba9e4565429e19f to your computer and use it in GitHub Desktop.
diff --git a/ecere/src/gfx/imgDistMap.ec b/ecere/src/gfx/imgDistMap.ec
index eb1a1b125..8526b2f29 100644
--- a/ecere/src/gfx/imgDistMap.ec
+++ b/ecere/src/gfx/imgDistMap.ec
@@ -9,6 +9,8 @@
*/
import "instance"
+#define _Float128 __float128
+
#include <math.h>
struct MapDistMapPoint
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:25:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:30:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:33:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:36:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:39:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:39:1: warning: Undeclared class _Float128
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:42:1: warning: Undeclared class _Float128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment