mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
Windows (compiler specific) includes for libpbd
This commit is contained in:
parent
e4ab2ffbfb
commit
7b480eaa27
14 changed files with 78 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue