Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Tue, 15 May 2007 20:47:28 +0000 (20:47 +0000)
committeradilger <adilger>
Tue, 15 May 2007 20:47:28 +0000 (20:47 +0000)
One more compile warning due to redefinition of _GNU_SOURCE.

lustre/liblustre/tests/sanity.c

index 9835644..b567ad9 100644 (file)
@@ -1170,7 +1170,9 @@ int t54(char *name)
 }
 
 /* for O_DIRECTORY */
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
 
 #define STRIPE_SIZE       (2048 * 2048)
 #define STRIPE_OFFSET           0