summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_tapdev.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-28 14:05:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-28 14:05:46 +0000
commite54a3b66d3fe44634b3b336068b0de67d9259a3f (patch)
tree7b09e259051a92c4dae40ce4eda782d666628109 /nuttx/arch/sim/src/up_tapdev.c
parentefc2abcacd38e0a2a4ec330442b82343c40bac18 (diff)
downloadpx4-nuttx-e54a3b66d3fe44634b3b336068b0de67d9259a3f.tar.gz
px4-nuttx-e54a3b66d3fe44634b3b336068b0de67d9259a3f.tar.bz2
px4-nuttx-e54a3b66d3fe44634b3b336068b0de67d9259a3f.zip
Use only __CYGWIN__ to identify Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3987 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim/src/up_tapdev.c')
-rw-r--r--nuttx/arch/sim/src/up_tapdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/sim/src/up_tapdev.c b/nuttx/arch/sim/src/up_tapdev.c
index 9c88245b1..4176258e2 100644
--- a/nuttx/arch/sim/src/up_tapdev.c
+++ b/nuttx/arch/sim/src/up_tapdev.c
@@ -38,7 +38,7 @@
*
****************************************************************************/
-#ifndef CYGWIN
+#ifndef __CYGWIN__
/****************************************************************************
* Included Files
@@ -266,6 +266,6 @@ void tapdev_send(unsigned char *buf, unsigned int buflen)
dump_ethhdr("write", buf, buflen);
}
-#endif /* !CYGWIN */
+#endif /* !__CYGWIN__ */