NaCl runtime fixes
[mono.git] / mono / utils / mono-path.c
index 88b5d25a71904ff89e0923b1b7f967034f0b3c34..0a443aa41f76c1a977ac108b5e0a4a635651ae6e 100644 (file)
@@ -44,14 +44,9 @@ mono_path_canonicalize (const char *path)
        if (g_path_is_absolute (path)) {
                abspath = g_strdup (path);
        } else {
-#ifdef __native_client__
-               gchar *tmpdir = ".";
-               abspath = g_build_filename (tmpdir, path, NULL);
-#else
                gchar *tmpdir = g_get_current_dir ();
                abspath = g_build_filename (tmpdir, path, NULL);
                g_free (tmpdir);
-#endif
        }
 
 #ifdef HOST_WIN32