define warning( in SWI emulation: just a stub for now.

This commit is contained in:
Vítor Santos Costa
2010-05-05 16:31:08 +01:00
parent 903b0df915
commit 1d3f971511
2 changed files with 13 additions and 0 deletions

View File

@@ -596,3 +596,15 @@ X_API int PL_handle_signals(void)
return 0;
}
/* just a stub for now */
int
warning(const char *fm, ...)
{ va_list args;
va_start(args, fm);
fprintf(stderr,"warning: %s\n", fm);
va_end(args);
return TRUE;
}