This file is part of MXE. See LICENSE.md for licensing information.

--- a/configure.ac	2012-12-02 11:01:36.252405122 +0100
+++ b/configure.ac	2012-12-02 11:00:05.580408916 +0100
@@ -739,6 +739,7 @@
   *-*-solaris2*)        BAR="solaris"     ;;
   *-apple*)             BAR="apple"       ;;
   *-pc-cygwin*)         BAR="linux"       ;;
+  *-*-mingw*)	         BAR="linux"       ;;
   *)                    echo "*** unknown host $host!"; exit 1 ;;
 esac
 src_files=""
--- a.hdf/src/hdfi.h	2012-12-02 11:05:59.140394129 +0100
+++ b/hdf/src/hdfi.h	2012-12-02 11:05:32.528395313 +0100
@@ -865,8 +865,8 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #else /* !UNIX386 */
-#include <sys\types.h>      /* for unbuffered file I/O */
-#include <sys\stat.h>
+#include <sys/types.h>      /* for unbuffered file I/O */
+#include <sys/stat.h>
 #include <io.h>
 #include <conio.h>          /* for debugging getch() calls */
 #include <malloc.h>
--- a/mfhdf/ncgen/Makefile.am	2012-12-02 19:04:08.512697688 +0100
+++ b/mfhdf/ncgen/Makefile.am	2012-12-02 19:14:01.636713531 +0100
@@ -23,16 +23,6 @@
 
 bin_PROGRAMS = ncgen
 
-if HDF_BUILD_NETCDF
-if HDF_BUILD_FORTRAN
-noinst_PROGRAMS = ctest0 ftest0
-else 
-noinst_PROGRAMS = ctest0
-endif
-else
-noinst_PROGRAMS = ctest0
-endif
-
 ## Information for building the "ncgen" program
 ncgen_SOURCES = close.c escapes.c generate.c genlib.c getfill.c init.c      \
                 load.c main.c ncgentab.c
