소스 검색

manage symbol defs for Mingw

richarddobson 2 년 전
부모
커밋
470a971da5
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      dev/standnew/envcut.c

+ 4 - 0
dev/standnew/envcut.c

@@ -45,6 +45,10 @@
 #ifdef unix
 #define round(x) lround((x))
 #endif
+/* maybe only for MinGW*/
+#ifdef fileno
+#undef fileno
+#endif
 
 #define fileno ringsize
 #define ebuflen rampbrksize