Title: [131267] trunk/Source/_javascript_Core
Revision
131267
Author
[email protected]
Date
2012-10-14 09:22:49 -0700 (Sun, 14 Oct 2012)

Log Message

Build fix for WinCE after r131089.

WinCE does not support getenv().

* runtime/Options.cpp:
(JSC::overrideOptionWithHeuristic):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (131266 => 131267)


--- trunk/Source/_javascript_Core/ChangeLog	2012-10-14 14:58:43 UTC (rev 131266)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-10-14 16:22:49 UTC (rev 131267)
@@ -1,3 +1,12 @@
+2012-10-14  Patrick Gansterer  <[email protected]>
+
+        Build fix for WinCE after r131089.
+
+        WinCE does not support getenv().
+
+        * runtime/Options.cpp:
+        (JSC::overrideOptionWithHeuristic):
+
 2012-10-12  Kangil Han  <[email protected]>
 
         Fix build error on DFGSpeculativeJIT32_64.cpp

Modified: trunk/Source/_javascript_Core/runtime/Options.cpp (131266 => 131267)


--- trunk/Source/_javascript_Core/runtime/Options.cpp	2012-10-14 14:58:43 UTC (rev 131266)
+++ trunk/Source/_javascript_Core/runtime/Options.cpp	2012-10-14 16:22:49 UTC (rev 131267)
@@ -75,6 +75,7 @@
 template<typename T>
 void overrideOptionWithHeuristic(T& variable, const char* name)
 {
+#if !OS(WINCE)
     const char* stringValue = getenv(name);
     if (!stringValue)
         return;
@@ -83,6 +84,7 @@
         return;
     
     fprintf(stderr, "WARNING: failed to parse %s=%s\n", name, stringValue);
+#endif
 }
 
 static unsigned computeNumberOfGCMarkers(int maxNumberOfGCMarkers)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to