X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=tools%2Fos_support.c;h=6890c3183f656efe5c9a284dfce9ee8a1cbeb3b3;hb=221c4d982698d9f537237108f779b8174ce24c87;hp=1ed89e6c85c4fde975c28a2bebedfcbbc8741a69;hpb=bdaef38171c9ea030bae46b798aba4f430dcac18;p=oweals%2Fu-boot.git diff --git a/tools/os_support.c b/tools/os_support.c index 1ed89e6c85..6890c3183f 100644 --- a/tools/os_support.c +++ b/tools/os_support.c @@ -1,28 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2009 Extreme Engineering Solutions, Inc. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this software; if not, write to the - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "compiler.h" + /* * Include additional files required for supporting different operating systems */ -#include "compiler.h" -#ifdef __MINGW32__ -#include "mingw_support.c" -#endif -#ifdef __APPLE__ + +#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L #include "getline.c" #endif