mode cygwin fixes for scripts/mod/file2alias
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Aug 2009 08:18:01 +0000 (08:18 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Aug 2009 08:18:01 +0000 (08:18 +0000)
SVN-Revision: 17420

target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch

index ae7a77e16f6bf28da4f9e5c40428a4a9acab234f..8c22743d748c15360f52021222e0630408de30c6 100644 (file)
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"
index 45a3f2700612dba999a96b28848669251e3218b7..88c0421f03ca1c86d13248acc3b6c2857e1b1367 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"
index 96fffc0660d2252a1784e7ba3b8786476e0513fc..b59027d7c79e7619b39601aa461cc4730637d9b8 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"
index c5aadd1ad18b54025e865170cc712b69b44af3ba..4ff1536773fcfe7a54e7766c6fe6fd42c2fe02b4 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"
index c5aadd1ad18b54025e865170cc712b69b44af3ba..4ff1536773fcfe7a54e7766c6fe6fd42c2fe02b4 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"
index e98a10d1062497ab22a6fa50e0ecb225d187e467..fc64c17d5241ac4c4c7b9aeda92e332456bcf6d0 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"