[runtime] Fix a few warnings in io-layer and utils.
[mono.git] / mono / utils / mono-hwcap-mips.c
index a768257ff8f0d503ecbd6cea20fde92c9067cdcf..c99b64850e2da0e5387a96d33a1d7f447d56307d 100644 (file)
 
 #include "mono/utils/mono-hwcap-mips.h"
 
+#if defined(MONO_CROSS_COMPILE)
+void
+mono_hwcap_arch_init (void)
+{
+}
+#else
 void
 mono_hwcap_arch_init (void)
 {
        /* Nothing needed here yet. */
 }
+#endif
 
 void
 mono_hwcap_print (FILE *f)