瀏覽代碼

Define float_t and double_t

Jeremy Soller 2 年之前
父節點
當前提交
058509bd88
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/math.h

+ 4 - 0
include/math.h

@@ -1,5 +1,9 @@
 #include <openlibm_math.h>
 
+// Missing typedefs
+typedef float float_t;
+typedef double double_t;
+
 // Included to fix mesa issues
 #ifndef M_PI
 #define	M_PI		3.14159265358979323846	/* pi */