[webkit-changes] cvs commit: JavaScriptCore/kjs interpreter.cpp
David
hyatt at opensource.apple.com
Fri Dec 16 14:45:36 PST 2005
hyatt 05/12/16 14:45:35
Modified: kjs interpreter.cpp
Log:
ifdef out the getpid call on windows.
Revision Changes Path
1.36 +5 -1 JavaScriptCore/kjs/interpreter.cpp
Index: interpreter.cpp
===================================================================
RCS file: /cvs/root/JavaScriptCore/kjs/interpreter.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- interpreter.cpp 16 Dec 2005 08:08:05 -0000 1.35
+++ interpreter.cpp 16 Dec 2005 22:45:35 -0000 1.36
@@ -123,7 +123,11 @@
ExecState *exec = rep->globalExec();
CString f = sourceURL.UTF8String();
CString message = comp.value()->toObject(exec)->toString(exec).UTF8String();
- printf("[%d] %s:%s\n", getpid(), f.c_str(), message.c_str());
+#ifdef WIN32
+ printf("%s:%s\n", f.c_str(), message.c_str());
+#else
+ printf("[%d] %s:%s\n", getpid(), f.c_str(), message.c_str());
+#endif
}
return comp;
More information about the webkit-changes
mailing list