CC = gcc -DLINUX -D_WIN32 <--ここ修正
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h> /* use setmode */
#if !defined(LINUX) <--ここ修正
#include <io.h> <--ここ修正
#endif <--ここ修正
#include "portableio.h"
途中省略
if (config.from_stdin) {
config.wave.file = stdin;
#if !defined(LINUX) <--ここ修正
setmode(fileno(stdin), O_BINARY); /* samples are binary stream */ <--ここ修正
#endif <--ここ修正
} else {
if((config.wave.file = fopen(config.infile,"rb")) == NULL)
ERROR("Unable to open file");
}