Module Name:    src
Committed By:   christos
Date:           Thu Apr 15 00:50:03 UTC 2010

Modified Files:
        src/lib/libedit: histedit.h

Log Message:
>From Jess Thrysoee: add ifndef around def of _GNU_SOURCE


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/lib/libedit/histedit.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/histedit.h
diff -u src/lib/libedit/histedit.h:1.45 src/lib/libedit/histedit.h:1.46
--- src/lib/libedit/histedit.h:1.45	Sun Jan  3 13:27:10 2010
+++ src/lib/libedit/histedit.h	Wed Apr 14 20:50:03 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: histedit.h,v 1.45 2010/01/03 18:27:10 christos Exp $	*/
+/*	$NetBSD: histedit.h,v 1.46 2010/04/15 00:50:03 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -248,8 +248,10 @@
  */
 #ifdef __linux__
 /* Apparently we need _GNU_SOURCE defined to get access to wcsdup on Linux */
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
+#endif
 
 #include <wchar.h>
 #include <wctype.h>

Reply via email to