Skip to content

Commit

Permalink
corec: only define stdio classes with CONFIG_STDIO
Browse files Browse the repository at this point in the history
mk<tools> will fail to build without that.
  • Loading branch information
robUx4 committed Dec 29, 2024
1 parent 9efdaf3 commit 347e1fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions corec/corec/helpers/file/streams.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ typedef struct memstream

} memstream;

#if defined(CONFIG_STDIO)
#define STDIN_ID FOURCC('S','T','D','I')
#define STDOUT_ID FOURCC('S','T','D','O')
#define STDERR_ID FOURCC('S','T','D','E')
#endif

typedef struct streamdir
{
Expand Down

0 comments on commit 347e1fe

Please sign in to comment.