nemiver r805 - in trunk: . src/uicommon
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r805 - in trunk: . src/uicommon
- Date: Tue, 6 May 2008 08:35:32 +0100 (BST)
Author: dodji
Date: Tue May 6 07:35:32 2008
New Revision: 805
URL: http://svn.gnome.org/viewvc/nemiver?rev=805&view=rev
Log:
[terminal] second try at porting this to FreeBSD
* src/uicommon/nmv-terminal.cc: _GNU_SOURCE is defined on freebsd
as well, so use don't use it to discriminate that platform.
This should hopefully close #529718
Modified:
trunk/ChangeLog
trunk/src/uicommon/nmv-terminal.cc
Modified: trunk/src/uicommon/nmv-terminal.cc
==============================================================================
--- trunk/src/uicommon/nmv-terminal.cc (original)
+++ trunk/src/uicommon/nmv-terminal.cc Tue May 6 07:35:32 2008
@@ -23,9 +23,9 @@
*See COPYRIGHT file copyright information.
*/
#include "nmv-terminal.h"
-#if defined(_GNU_SOURCE)
+#if !defined(__FreeBSD__)
# include <pty.h>
-#elif defined(__FreeBSD__)
+#else
# include <sys/types.h>
# include <sys/ioctl.h>
# include <termios.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]