diff options
author | David Robillard <d@drobilla.net> | 2011-03-27 07:03:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-27 07:03:28 +0000 |
commit | 89a922d7b5fcd2f8e18c7a601bfa26e63528ab17 (patch) | |
tree | 5f30a777d1f56bfb4e5128317b5297d68d494a9d /core.lv2/lv2config.c | |
parent | 6b06a65d2219e0231361470b0f26e9bed2fc500f (diff) | |
download | lv2-89a922d7b5fcd2f8e18c7a601bfa26e63528ab17.tar.xz |
Fix compilation on Windows.
Diffstat (limited to 'core.lv2/lv2config.c')
-rw-r--r-- | core.lv2/lv2config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core.lv2/lv2config.c b/core.lv2/lv2config.c index 51e0df5..327d655 100644 --- a/core.lv2/lv2config.c +++ b/core.lv2/lv2config.c @@ -35,6 +35,13 @@ #include <sys/types.h> #include <unistd.h> +#ifdef __WIN32__ +#define _WIN32_WINNT 0x0600 +#include <windows.h> +#define symlink(src, dst) (!CreateSymbolicLink((src), (dst), 0)) +#define mkdir(path, mode) mkdir(path) +#endif + #include "serd-0.1.0.h" #include "lv2-config.h" |