Collection of tools useful for audio production
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
600B

  1. diff -U 3 -H -b -B -d -r -N -- lilv-0.14.4.old/src/util.c lilv-0.14.4/src/util.c
  2. --- lilv-0.14.4.old/src/util.c 2012-08-09 21:51:00.000000000 +0100
  3. +++ lilv-0.14.4/src/util.c 2012-09-15 01:20:07.908701939 +0100
  4. @@ -29,7 +29,6 @@
  5. #include <string.h>
  6. #ifdef _WIN32
  7. -# define _WIN32_WINNT 0x0600 /* for CreateSymbolicLink */
  8. # include <windows.h>
  9. # include <direct.h>
  10. # include <io.h>
  11. @@ -426,7 +425,7 @@
  12. int ret = 0;
  13. if (strcmp(oldpath, newpath)) {
  14. #ifdef _WIN32
  15. - ret = !CreateSymbolicLink(newpath, oldpath, 0);
  16. + ret = 0;
  17. #else
  18. ret = symlink(oldpath, newpath);
  19. #endif