Browse Source

configure.ac: define macro __MINGW32__ for nvcc

Nathalie Furmento 14 years ago
parent
commit
d94e617176
1 changed files with 1 additions and 0 deletions
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -48,6 +48,7 @@ case "$target" in
 *-*-mingw*|*-*-cygwin*)
   starpu_windows=yes
   libext=a
+  NVCCFLAGS="-D__MINGW32__"
   AC_DEFINE(STARPU_HAVE_WINDOWS, [], [Define this on windows.])
   ;;
 esac