/* bfd filesystem (is it DOS-like or not) support stuff Copyright 2009, Free Software Foundation, Inc. Written by Danny Backx. This file is part of BFD, the Binary File Descriptor library. 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. */ #include "sysdep.h" #include "bfd.h" #include "libbfd.h" #if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__) static int _have_dos_based_file_system = 1; #else static int _have_dos_based_file_system = 0; #endif int have_dos_based_file_system(void) { return _have_dos_based_file_system; } void set_dos_based_file_system(int v) { _have_dos_based_file_system = v; }