dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t

This commit is contained in:
Peter Howkins 2018-03-27 01:51:58 +01:00
parent 1acf08c5ef
commit d41d87be27
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,12 @@
#ifndef _SFIO_H
#define _SFIO_H 1
#if defined(linux)
/* HACK On linux prevent inclusion of __FILE.h that contains a conflicting
definition of __FILE that we define later */
# define ____FILE_defined 1
#endif /* linux */
/* Public header file for the safe fast io package.
**
** Written by Kiem-Phong Vo, kpv@research.att.com.