Skip to content

Instantly share code, notes, and snippets.

@jonpryor
Created October 24, 2012 14:17
Show Gist options
  • Save jonpryor/3946309 to your computer and use it in GitHub Desktop.
Save jonpryor/3946309 to your computer and use it in GitHub Desktop.
int
Mono_Posix_Syscall_syslog (int priority, const char* message)
{
#ifdef __GCC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Werror=format-security"
#endif
syslog (priority, message);
#ifdef __GCC__
#pragma GCC diagnostic pop
#endif
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment