Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: native_client_sdk/src/libraries/nacl_io/log.h

Issue 318153004: [NaCl SDK] nacl_io: fix TTY warning messages when using naclterm/hterm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/log.h
diff --git a/native_client_sdk/src/libraries/nacl_io/log.h b/native_client_sdk/src/libraries/nacl_io/log.h
index 234faaf023b5f78aba615555f114190bf8921134..8c9ce8d28cb059cba1c9e1483389d8f0fb4817d9 100644
--- a/native_client_sdk/src/libraries/nacl_io/log.h
+++ b/native_client_sdk/src/libraries/nacl_io/log.h
@@ -19,6 +19,9 @@
#define LOG_ERROR(format, ...) \
nacl_io_log(LOG_PREFIX "error: " format "\n", ##__VA_ARGS__)
+#define LOG_WARN(format, ...) \
+ nacl_io_log(LOG_PREFIX "warning: " format "\n", ##__VA_ARGS__)
+
EXTERN_C_BEGIN
/*
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698