Преглед на файлове

Fix compilation by including cdefs-compat.h in math_private.h

Also fix redefinition of __pure2
Elliot Saba преди 10 години
родител
ревизия
e9d02ee729
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 1 0
      src/math_private.h
  2. 2 0
      src/openlibm.h

+ 1 - 0
src/math_private.h

@@ -17,6 +17,7 @@
 #ifndef _MATH_PRIVATE_H_
 #define	_MATH_PRIVATE_H_
 
+#include "cdefs-compat.h"
 #include "types-compat.h"
 #include "fpmath.h"
 #include <complex.h>

+ 2 - 0
src/openlibm.h

@@ -27,7 +27,9 @@
 #define LONG_DOUBLE
 #endif
 
+#ifndef __pure2
 #define __pure2
+#endif
 
 /*
  * ANSI/POSIX