[runtime] Remove ia64 backend, the Itanium architecture is dead. (#4859)
[mono.git] / mono / utils / networking-missing.c
index 763c85b0d3757f6244eef499a30492de291cc39d..32aeb9633886e6fed3fd9f09e10ab79386cbd4f0 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * networking-missing.c: Implements missing standard socket functions.
+/**
+ * \file
+ * Implements missing standard socket functions.
  *
  * Author:
  *     Rodrigo Kumpera (kumpera@gmail.com)
@@ -8,6 +9,7 @@
  */
 
 #include <mono/utils/networking.h>
+#include <mono/utils/mono-compiler.h>
 #include <glib.h>
 
 #ifdef HAVE_NETDB_H
@@ -55,8 +57,5 @@ inet_pton (int family, const char *address, void *inaddrp)
 
 #else /* !HAVE_INET_PTON */
 
-#ifdef _MSC_VER
-// Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty.
-void __mono_win32_networking_missing_lnk4221(void) {}
-#endif
+MONO_EMPTY_SOURCE_FILE (networking_missing);
 #endif /* !HAVE_INET_PTON */