Show
Ignore:
Timestamp:
08/04/09 10:51:00 (15 years ago)
Author:
vbarta
Message:

made to compile on Windows (again); tests fail

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/test_util.cpp

    r449 r469  
    55#include <stdexcept> 
    66#include <string> 
    7 #include <dirent.h> 
    87#include <errno.h> 
    98#include <fcntl.h> 
    109#include <string.h> 
     10#include <stdio.h> 
    1111#include <sys/stat.h> 
    1212#include <sys/types.h> 
     13 
     14#ifdef WIN32 
     15#include "dirent.h" 
     16#include <direct.h> 
     17#define rmdir _rmdir 
     18#define unlink _unlink 
     19#else 
     20#include <dirent.h> 
    1321#include <unistd.h> 
     22#endif 
    1423 
    1524namespace bdm {