mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
changes to make XPIDL compiler work under Windows
This commit is contained in:
parent
630671555e
commit
45c2ae4f23
@ -104,4 +104,7 @@ xpidl_list_foreach(IDL_tree p, IDL_tree_func foreach, gpointer user_data);
|
||||
void XPIDL_add_output_file(char *fn);
|
||||
void XPIDL_cleanup_on_error();
|
||||
|
||||
gboolean process_node(TreeState *state);
|
||||
|
||||
|
||||
#endif /* __xpidl_h */
|
||||
|
@ -147,7 +147,8 @@ fopen_from_includes(const char *filename, const char *mode,
|
||||
char *filebuf = NULL;
|
||||
FILE *file = NULL;
|
||||
for (; include_path && !file; include_path = include_path->next) {
|
||||
filebuf = g_strdup_printf("%s/%s", include_path->directory, filename);
|
||||
filebuf = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s",
|
||||
include_path->directory, filename);
|
||||
if (!filebuf)
|
||||
return NULL;
|
||||
#ifdef DEBUG_shaver_bufmgmt
|
||||
|
@ -104,4 +104,7 @@ xpidl_list_foreach(IDL_tree p, IDL_tree_func foreach, gpointer user_data);
|
||||
void XPIDL_add_output_file(char *fn);
|
||||
void XPIDL_cleanup_on_error();
|
||||
|
||||
gboolean process_node(TreeState *state);
|
||||
|
||||
|
||||
#endif /* __xpidl_h */
|
||||
|
@ -147,7 +147,8 @@ fopen_from_includes(const char *filename, const char *mode,
|
||||
char *filebuf = NULL;
|
||||
FILE *file = NULL;
|
||||
for (; include_path && !file; include_path = include_path->next) {
|
||||
filebuf = g_strdup_printf("%s/%s", include_path->directory, filename);
|
||||
filebuf = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s",
|
||||
include_path->directory, filename);
|
||||
if (!filebuf)
|
||||
return NULL;
|
||||
#ifdef DEBUG_shaver_bufmgmt
|
||||
|
Loading…
x
Reference in New Issue
Block a user