Added warning for non-threadsafe impl

This commit is contained in:
Michael Jumper 2011-11-21 01:42:16 -08:00
parent 40f773e733
commit 1b42db58e9

View File

@ -145,5 +145,8 @@ guac_status* __guac_error() {
return &__guac_error_unsafe_storage;
}
/* Warn about threadsafety */
#warn No threadsafe implementation of __guac_error exists for your platform, so a default non-threadsafe implementation has been used instead. This may lead to incorrect status codes being reported for failures. Please consider adding support for your platform, or filing a bug report with the Guacamole project.
#endif