changes to make XPIDL compiler work under Windows

This commit is contained in:
alecf%netscape.com 1999-01-21 18:59:52 +00:00
Родитель 630671555e
Коммит 45c2ae4f23
4 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -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