From e9ea3e62501814c4224237f6242fed83a1c886cc Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 6 Jan 2014 02:59:39 +0100 Subject: Fix for #41097 (compilation in darwin) --- lib/darwin.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/darwin.c (limited to 'lib/darwin.c') diff --git a/lib/darwin.c b/lib/darwin.c new file mode 100644 index 0000000..b3e8fa3 --- /dev/null +++ b/lib/darwin.c @@ -0,0 +1,27 @@ +/* -*-c-*- -------------- darwin.c: + * Dummy functions for darwin compatibility + * ------------------------------------------------------------------ + * Copyright (C) 2014 Free Software Foundation, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + * + */ + +int +useless_function_to_ensure_darwin_compiles (void) +{ + return 0; +} -- cgit v1.2.3