소스 검색

SDL_config_os2.h: undefine HAVE_TRUNC

trunc() exists only in OpenWatcom 2.0 fork, and its implementation
already is the same as the fallback we have here..
Ozkan Sezer 5 년 전
부모
커밋
3e40b87f56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/SDL_config_os2.h

+ 1 - 1
include/SDL_config_os2.h

@@ -180,7 +180,7 @@
 /* #undef HAVE_SQRTF */
 /* #undef HAVE_SQRTF */
 #define HAVE_TAN 1
 #define HAVE_TAN 1
 /* #undef HAVE_TANF */
 /* #undef HAVE_TANF */
-#define HAVE_TRUNC 1
+/* #undef HAVE_TRUNC */
 /* #undef HAVE_TRUNCF */
 /* #undef HAVE_TRUNCF */
 
 
 #endif /* SDL_config_os2_h_ */
 #endif /* SDL_config_os2_h_ */