mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t
This commit is contained in:
parent
1acf08c5ef
commit
d41d87be27
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue