dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t
This commit is contained in:
@@ -46,6 +46,12 @@
|
|||||||
#ifndef _SFIO_H
|
#ifndef _SFIO_H
|
||||||
#define _SFIO_H 1
|
#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.
|
/* Public header file for the safe fast io package.
|
||||||
**
|
**
|
||||||
** Written by Kiem-Phong Vo, kpv@research.att.com.
|
** Written by Kiem-Phong Vo, kpv@research.att.com.
|
||||||
|
|||||||
Reference in New Issue
Block a user