Quellcode durchsuchen

Add ldexp to the !C99 list, since it is defined in POSIX as
being part of the classic math lib stuff.
-Erik

Eric Andersen vor 22 Jahren
Ursprung
Commit
e73afd3836
1 geänderte Dateien mit 7 neuen und 6 gelöschten Zeilen
  1. 7 6
      libm/Makefile

+ 7 - 6
libm/Makefile

@@ -64,13 +64,14 @@ CSRC =   e_acos.c e_acosh.c e_asin.c e_atan2.c e_atanh.c e_cosh.c\
          w_log.c w_log10.c w_pow.c w_remainder.c w_scalb.c w_sinh.c\
          w_sqrt.c fpmacros.c
 else
+# This list of math functions was taken from POSIX/IEEE 1003.1b-1993
 CSRC =   w_acos.c w_asin.c s_atan.c w_atan2.c s_ceil.c s_cos.c \
-	 w_cosh.c w_exp.c s_expm1.c s_fabs.c s_floor.c w_fmod.c \
-	 s_frexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \
-	 w_sinh.c w_sqrt.c s_tan.c s_tanh.c s_scalbn.c s_copysign.c \
-	 e_acos.c e_asin.c e_atan2.c k_cos.c e_cosh.c e_exp.c \
-	 e_fmod.c e_log.c e_log10.c e_pow.c k_sin.c e_sinh.c e_sqrt.c \
-	 k_tan.c e_rem_pio2.c k_rem_pio2.c
+	 w_cosh.c w_exp.c s_fabs.c s_floor.c w_fmod.c s_frexp.c \
+	 s_ldexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \
+	 w_sinh.c w_sqrt.c s_tan.c s_tanh.c 
+CSRC+=   s_expm1.c s_scalbn.c s_copysign.c e_acos.c e_asin.c e_atan2.c \
+	 k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \
+	 k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c
 endif
 COBJS=$(patsubst %.c,%.o, $(CSRC))
 OBJS=$(COBJS)