Fix the different defintion between linux and cygwin
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Jun 2007 07:39:17 +0000 (07:39 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 4 Jun 2007 07:39:17 +0000 (07:39 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2623 6f19259b-4bc3-4df7-8a09-765794883524

EdkUnixPkg/Sec/UnixThunk.c

index cce14e5..b2aeed0 100644 (file)
@@ -39,9 +39,9 @@ Abstract:
 #include <string.h>
 #include <stdlib.h>
 #include <termio.h>
-
+#ifdef __INSIDE_CYGWIN__
 extern ioctl (int fd, unsigned long int __request, ...);
-
+#endif
 static int settimer_initialized;
 static struct timeval settimer_timeval;
 static void (*settimer_callback)(UINT64 delta);