Want more features on Pastebin? Sign Up, it's FREE!
Guest

unistd.patch

By: a guest on Apr 21st, 2012  |  syntax: Diff  |  size: 0.96 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur qgis-1.7.4.orig/src/core/spatialindex/storagemanager/DiskStorageManager.cc qgis-1.7.4/src/core/spatialindex/storagemanager/DiskStorageManager.cc
  2. --- qgis-1.7.4.orig/src/core/spatialindex/storagemanager/DiskStorageManager.cc  2012-02-22 22:48:14.000000000 +0200
  3. +++ qgis-1.7.4/src/core/spatialindex/storagemanager/DiskStorageManager.cc       2012-04-21 13:58:04.107239275 +0300
  4. @@ -26,6 +26,7 @@
  5.  #include <sys/stat.h>
  6.  #include <stdio.h>
  7.  #include <cstring>
  8. +#include <unistd.h>
  9.  
  10.  #ifdef WIN32
  11.  #include <io.h>
  12. diff -Naur qgis-1.7.4.orig/src/core/spatialindex/tools/TemporaryFile.cc qgis-1.7.4/src/core/spatialindex/tools/TemporaryFile.cc
  13. --- qgis-1.7.4.orig/src/core/spatialindex/tools/TemporaryFile.cc        2012-02-22 22:48:14.000000000 +0200
  14. +++ qgis-1.7.4/src/core/spatialindex/tools/TemporaryFile.cc     2012-04-21 13:16:42.213690282 +0300
  15. @@ -20,7 +20,7 @@
  16.  //    mhadji@gmail.com
  17.  
  18.  #include <stdio.h>
  19. -
  20. +#include <unistd.h>
  21.  #include <Tools.h>
  22.  
  23.  #ifdef WIN32
clone this paste RAW Paste Data