Skip to content

Commit

Permalink
Fix build failure on certain versions of glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Jan 18, 2021
1 parent 8361e06 commit 8633290
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/libast/features/stdio
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ cat{
#define _FILE_DEFINED 1
#define _FILE_defined 1
#define _FILEDEFED 1
#define __FILE_defined 1
#define ____FILE_defined 1

#ifndef __FILE_TAG
#define __FILE_TAG _sfio_s
Expand Down
12 changes: 12 additions & 0 deletions src/lib/libast/include/ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,21 @@ struct _sfio_s;
#ifndef __FILE_typedef
#define __FILE_typedef 1
#endif
#ifndef _FILE_DEFINED
#define _FILE_DEFINED 1
#endif
#ifndef _FILE_defined
#define _FILE_defined 1
#endif
#ifndef _FILEDEFED
#define _FILEDEFED 1
#endif
#ifndef __FILE_defined
#define __FILE_defined 1
#endif
#ifndef ____FILE_defined
#define ____FILE_defined 1
#endif
#endif

/*
Expand Down

0 comments on commit 8633290

Please sign in to comment.