Browse Source

STARPU_HAVE_WINDOWS is an empty macro :)

Corentin Salingue 12 years ago
parent
commit
85bdfb981b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/disk/disk_compute.c

+ 2 - 2
tests/disk/disk_compute.c

@@ -103,7 +103,7 @@ int main(int argc, char **argv)
 	fclose(f);
 
 	int descriptor = open(path_file_start, O_RDWR);
-#if STARPU_HAVE_WINDOWS
+#ifdef STARPU_HAVE_WINDOWS
 	_commit(descriptor);
 #else
 	fsync(descriptor);
@@ -122,7 +122,7 @@ int main(int argc, char **argv)
 	fclose(f);
 
         descriptor = open(path_file_end, O_RDWR);
-#if STARPU_HAVE_WINDOWS
+#ifdef STARPU_HAVE_WINDOWS
         _commit(descriptor);
 #else
         fsync(descriptor);