[runtime] Workaround missing net/route.h in iOS SDK.
[mono.git] / support / map.c
index 9049e3cc931aeb1082c95c99e3793b1c69582cf9..737c217727585521e981daf3f93ed8c7b5eb1f7b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file was automatically generated by create-native-map from ../../mcs/class/lib/net_2_0/Mono.Posix.dll.
+ * This file was automatically generated by create-native-map from /cvs/mono/mcs/class/lib/net_4_5/Mono.Posix.dll.
  *
  * DO NOT MODIFY.
  */
@@ -2626,6 +2626,12 @@ int Mono_Posix_FromFcntlCommand (int x, int *r)
 #else /* def F_GETSIG */
                {errno = EINVAL; return -1;}
 #endif /* ndef F_GETSIG */
+       if (x == Mono_Posix_FcntlCommand_F_NOCACHE)
+#ifdef F_NOCACHE
+               {*r = F_NOCACHE; return 0;}
+#else /* def F_NOCACHE */
+               {errno = EINVAL; return -1;}
+#endif /* ndef F_NOCACHE */
        if (x == Mono_Posix_FcntlCommand_F_NOTIFY)
 #ifdef F_NOTIFY
                {*r = F_NOTIFY; return 0;}
@@ -2712,6 +2718,10 @@ int Mono_Posix_ToFcntlCommand (int x, int *r)
        if (x == F_GETSIG)
                {*r = Mono_Posix_FcntlCommand_F_GETSIG; return 0;}
 #endif /* ndef F_GETSIG */
+#ifdef F_NOCACHE
+       if (x == F_NOCACHE)
+               {*r = Mono_Posix_FcntlCommand_F_NOCACHE; return 0;}
+#endif /* ndef F_NOCACHE */
 #ifdef F_NOTIFY
        if (x == F_NOTIFY)
                {*r = Mono_Posix_FcntlCommand_F_NOTIFY; return 0;}