Explorar o código

Remove leftover test code

Keno Fischer %!s(int64=12) %!d(string=hai) anos
pai
achega
c3d4e51cd8
Modificáronse 2 ficheiros con 2 adicións e 9 borrados
  1. 2 5
      amd64/bsd_ieeefp.h
  2. 0 4
      ld80/s_exp2l.c

+ 2 - 5
amd64/bsd_ieeefp.h

@@ -41,9 +41,8 @@
 
 #ifndef _MACHINE_IEEEFP_H_
 #define _MACHINE_IEEEFP_H_
-#warning test
 
-#ifndef _SYS_CDEFS_H_
+#if !defined(_SYS_CDEFS_H_) && !defined(_CDEFS_H_)
 #error this file needs sys/cdefs.h as a prerequisite
 #endif
 
@@ -125,8 +124,6 @@ typedef enum {
 #if (defined(__GNUCLIKE_ASM) && defined(__CC_SUPPORTS___INLINE__)) || defined(__WIN32__) \
     && !defined(__cplusplus)
 
-#warning test2
-	
 #define	__fldenv(addr)	__asm __volatile("fldenv %0" : : "m" (*(addr)))
 #define	__fnstenv(addr)	__asm __volatile("fnstenv %0" : "=m" (*(addr)))
 #define	__fldcw(addr)	__asm __volatile("fldcw %0" : : "m" (*(addr)))
@@ -280,4 +277,4 @@ __END_DECLS
 #endif /* !__IEEEFP_NOINLINES__ && !__cplusplus && __GNUCLIKE_ASM
           && __CC_SUPPORTS___INLINE__ */
 
-#endif /* !_MACHINE_IEEEFP_H_ */
+#endif /* !_MACHINE_IEEEFP_H_ */

+ 0 - 4
ld80/s_exp2l.c

@@ -30,11 +30,7 @@
 #include <float.h>
 #include <stdint.h>
 
-#ifdef __WIN32__
 #include "amd64/bsd_ieeefp.h"
-#else
-#include <ieeefp.h>
-#endif
 
 #include "fpmath.h"
 #include "openlibm.h"