mc/os2/config.h

122 lines
2.6 KiB
C
Raw Normal View History

1998-02-27 07:54:42 +03:00
/****************************************************************************
CONFIG.H - Midnight Commander Configuration for OS/2
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 2 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., 675 Mass Ave, Cambridge, MA 02139, USA.
----------------------------------------------------------------------------
Changes:
- Created 951204/jfg
- Changed from Alexander Dong (ado) for OS/2
----------------------------------------------------------------------------
Contents:
- Headers flags
- Library flags
- Typedefs
- etc.
****************************************************************************/
#ifndef __CONFIG_H
1998-02-27 07:54:42 +03:00
#define __CONFIG_H
#ifndef __BORLANDC__
# include <../VERSION>
#else
# include <../VERSION.>
#endif
#ifndef OS2
# define OS2
#endif
#ifndef __os2__
# define __os2__
#endif
#ifndef pc_system
# define pc_system
#endif
#define OS2_NT
#define FLOAT_TYPE
#define MIDNIGHT
1998-02-27 07:54:42 +03:00
#define STDC_HEADERS
#define HAVE_STDLIB_H
1998-02-27 07:54:42 +03:00
#define HAVE_STRING_H
#define HAVE_DIRENT_H
#define HAVE_LIMITS_H
#define HAVE_FCNTL_H
1998-02-27 07:54:42 +03:00
#define HAVE_MEMSET
#define HAVE_MEMCHR
#define HAVE_MEMCPY
#define HAVE_MEMCMP
#define HAVE_MEMMOVE
1998-02-27 07:54:42 +03:00
#define HAVE_STRDUP
#define HAVE_STRERROR
#define HAVE_TRUNCATE
1998-02-27 07:54:42 +03:00
#define REGEX_MALLOC
#define NO_INFOMOUNT
#if !defined(HAVE_SLANG) && !defined (USE_NCURSES)
#define HAVE_SLANG
#endif
#ifdef USE_NCURSES
#define RENAMED_NCURSES
#endif
typedef unsigned int umode_t;
#define S_IFLNK 0
#define S_ISLNK(x) 0
1998-02-27 07:54:42 +03:00
#ifdef __EMX__
#define S_IFBLK 0
#define S_ISBLK(x) 0
#endif /* __EMX__ */
1998-02-27 07:54:42 +03:00
#ifdef __BORLANDC__
#define INLINE
#define inline
1998-02-27 07:54:42 +03:00
#define S_IRWXG 0000070
#define S_IRGRP 0000040
#define S_IWGRP 0000020
#define S_IXGRP 0000010
#define S_IRWXO 0000007
#define S_IROTH 0000004
#define S_IWOTH 0000002
#define S_IXOTH 0000001
/* FIXME: is this definition correct? */
#define R_OK 4
1998-02-27 07:54:42 +03:00
#define popen _popen
#define pclose _pclose
#define sleep _sleep
1998-02-27 07:54:42 +03:00
typedef int pid_t;
#endif /* __BORLANDC__ */
1998-02-27 07:54:42 +03:00
#endif /* __CONFIG_H */