소스 검색

add conditional def for HUGE

richarddobson 3 년 전
부모
커밋
586a193830
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      dev/standnew/distmark.c

+ 3 - 0
dev/standnew/distmark.c

@@ -45,6 +45,9 @@
 #ifdef unix
 #ifdef unix
 #define round(x) lround((x))
 #define round(x) lround((x))
 #endif
 #endif
+#ifndef HUGE
+#define HUGE 3.40282347e+38F
+#endif
 
 
 #define minstep scalefact
 #define minstep scalefact
 #define stepstorecnt rampbrksize
 #define stepstorecnt rampbrksize