summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egllog.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-31 11:47:58 +0800
committerChia-I Wu <[email protected]>2010-05-31 13:27:41 +0800
commit1e6c10f4be9e36cc052a6b47fb2cb1eae60caa00 (patch)
treec9c14d9520bb4fce651652be3dba76342df46817 /src/egl/main/egllog.c
parent0d820fc203e06d5264430de7262d2c35a8ff1e75 (diff)
egl: Use SConscript for Windows build.
Fix several portability issues and add SConscript for Windows build.
Diffstat (limited to 'src/egl/main/egllog.c')
-rw-r--r--src/egl/main/egllog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c
index 11a9bf7275c..8f3bae2243d 100644
--- a/src/egl/main/egllog.c
+++ b/src/egl/main/egllog.c
@@ -11,6 +11,7 @@
#include <string.h>
#include "egllog.h"
+#include "eglstring.h"
#include "eglmutex.h"
#define MAXSTRING 1000
@@ -116,7 +117,7 @@ _eglInitLogger(void)
log_env = getenv("EGL_LOG_LEVEL");
if (log_env) {
for (i = 0; level_strings[i]; i++) {
- if (strcasecmp(log_env, level_strings[i]) == 0) {
+ if (_eglstrcasecmp(log_env, level_strings[i]) == 0) {
level = i;
break;
}