fixed up for gcc-4.1

This commit is contained in:
David Anderson
2006-08-25 00:28:36 +00:00
parent 3878c7492a
commit a7fcf76244
5 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@
__declspec (dllexport)
void EXCOMPILER(int argc, char **argv)
# else
void extern EXCOMPILER(int argc, char **argv)
void extern __attribute__((visibility("default"))) EXCOMPILER(int argc, char **argv)
# endif
{
pc_compile(argc, argv);
@ -70,7 +70,7 @@
__declspec (dllexport)
int pc_printf(const char *message,...)
#else
extern int pc_printf(const char *message,...)
extern int __attribute__((visibility("default"))) pc_printf(const char *message,...)
#endif
#else
int pc_printf(const char *message, ...)