* include/error.h (error_message_count): Declare as dllimport.

(error_one_per_line): Ditto.
(error_print_progname): Ditto.
This commit is contained in:
Yaakov Selkowitz 2013-02-21 03:15:47 +00:00
parent 7e38f161ea
commit 7b3739f2ae
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-02-20 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* include/error.h (error_message_count): Declare as dllimport.
(error_one_per_line): Ditto.
(error_print_progname): Ditto.
2013-02-08 Corinna Vinschen <corinna@vinschen.de>
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.

View File

@ -19,9 +19,15 @@ extern "C"
void error (int, int, const char *, ...);
void error_at_line (int, int, const char *, unsigned int, const char *, ...);
#ifdef __INSIDE_CYGWIN__
extern unsigned int error_message_count;
extern int error_one_per_line;
extern void (*error_print_progname) (void);
#else
extern __declspec(dllimport) unsigned int error_message_count;
extern __declspec(dllimport) int error_one_per_line;
extern __declspec(dllimport) void (*error_print_progname) (void);
#endif
#ifdef __cplusplus
}