#include <dirent.h>
-int __mono_io_portability_helpers = PORTABILITY_UNKNOWN;
+int mono_io_portability_helpers = PORTABILITY_UNKNOWN;
static inline gchar *mono_portability_find_file_internal (GString **report, const gchar *pathname, gboolean last_exists);
{
const gchar *env;
- if (__mono_io_portability_helpers != PORTABILITY_UNKNOWN)
+ if (mono_io_portability_helpers != PORTABILITY_UNKNOWN)
return;
- __mono_io_portability_helpers = PORTABILITY_NONE;
+ mono_io_portability_helpers = PORTABILITY_NONE;
env = g_getenv ("MONO_IOMAP");
if (env != NULL) {
options[i]);
#endif
if (!strncasecmp (options[i], "drive", 5)) {
- __mono_io_portability_helpers |= PORTABILITY_DRIVE;
+ mono_io_portability_helpers |= PORTABILITY_DRIVE;
} else if (!strncasecmp (options[i], "case", 4)) {
- __mono_io_portability_helpers |= PORTABILITY_CASE;
+ mono_io_portability_helpers |= PORTABILITY_CASE;
} else if (!strncasecmp (options[i], "all", 3)) {
- __mono_io_portability_helpers |= (PORTABILITY_DRIVE | PORTABILITY_CASE);
+ mono_io_portability_helpers |= (PORTABILITY_DRIVE | PORTABILITY_CASE);
}
}
}
static inline void append_report (GString **report, const gchar *format, ...)
{
-#if defined (_EGLIB_MAJOR) || GLIB_CHECK_VERSION(2,14,0)
va_list ap;
if (!*report)
*report = g_string_new ("");
va_start (ap, format);
g_string_append_vprintf (*report, format, ap);
va_end (ap);
-#else
- g_assert_not_reached ();
-#endif
}
static inline void do_mono_profiler_iomap (GString **report, const char *pathname, const char *new_pathname)