Rename the mobile_static profile to aot_only
[mono.git] / mcs / class / System / System.Net.Sockets / SafeSocketHandle.cs
index 968038e5c3657b7995306ffa4a6750391770cf0e..9cdee64a0ccc8a2abcd6b22dab0b3b1dae68c5eb 100644 (file)
@@ -45,7 +45,7 @@ namespace System.Net.Sockets {
                        int error = 0;
 
                        Socket.Blocking_internal (handle, false, out error);
-#if MOBILE_STATIC
+#if AOT_ONLY_DESKTOP
                        /* It's only for platforms that do not have working syscall abort mechanism, like WatchOS and TvOS */
                        Socket.Shutdown_internal (handle, SocketShutdown.Both, out error);
 #endif