Windows (compiler specific) includes for libpbd

This commit is contained in:
John Emmas 2013-07-16 18:00:49 +01:00
parent e4ab2ffbfb
commit 7b480eaa27
14 changed files with 78 additions and 6 deletions

View file

@ -17,9 +17,17 @@
*/
#include <string>
#ifdef COMPILER_MSVC
#include <io.h> // Microsoft's nearest equivalent to <unistd.h>
using PBD::readdir;
using PBD::opendir;
using PBD::closedir;
#else
#include <dirent.h>
#include <unistd.h>
#endif
#include <string>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>