]> arthur.barton.de Git - netatalk.git/commitdiff
use _USE_GNU_SOURCE rather than the internal __USE_GNU
authordidg <didg>
Thu, 29 Oct 2009 11:19:23 +0000 (11:19 +0000)
committerdidg <didg>
Thu, 29 Oct 2009 11:19:23 +0000 (11:19 +0000)
etc/cnid_dbd/cnid_metad.c

index 5bd0af5fddbd7ea56b447d137050431bbf7e6f1f..a383522ee9cd58806bd0dfa2b742d8970dddd69c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cnid_metad.c,v 1.19 2009-10-18 20:21:09 didg Exp $
+ * $Id: cnid_metad.c,v 1.20 2009-10-29 11:19:23 didg Exp $
  *
  * Copyright (C) Joerg Lenneis 2003
  * All Rights Reserved.  See COPYING.
@@ -32,7 +32,8 @@
 #include <stdlib.h>
 
 #ifdef HAVE_UNISTD_H
-#define __USE_GNU
+#undef _USE_GNU_SOURCE
+#define _USE_GNU_SOURCE
 #include <unistd.h>
 #undef __USE_GNU
 #endif /* HAVE_UNISTD_H */