#ifndef _WIN32
#include <unistd.h> //for access, unlink
+#else
+#include <io.h> //for _access
#endif
// return true if the file exists
if ( gdcmBinEntry* b = dynamic_cast<gdcmBinEntry*>(d) )
{
copy->GetHeader()->ReplaceOrCreateByNumber(
- b->GetVoidArea(),
+ b->GetBinArea(),
b->GetLength(),
b->GetGroup(),
b->GetElement(),