Browse Source

manage symbol defs for Mingw

richarddobson 2 years ago
parent
commit
04d94761f4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dev/standnew/distcut.c

+ 4 - 0
dev/standnew/distcut.c

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