Bug 656017 - Re-remove WinCE ifdef from js/src/vprof/vprof.cpp (was incorrectly added by bug 644900). r=jorendorff.
authorEd Morley <bmo@edmorley.co.uk>
Mon, 23 May 2011 21:13:06 -0700
changeset 70619 9c89c79056c71ac87f0771207dde0010c5a1dd66
parent 70618 35706009a1e470e8b3d5d9333468cf28ead1e5c0
child 70620 35aa069725306b96ad4a06fed444f8abeaa922d4
push idunknown
push userunknown
push dateunknown
reviewersjorendorff
bugs656017, 644900
milestone6.0a1
Bug 656017 - Re-remove WinCE ifdef from js/src/vprof/vprof.cpp (was incorrectly added by bug 644900). r=jorendorff.
js/src/vprof/vprof.cpp
--- a/js/src/vprof/vprof.cpp
+++ b/js/src/vprof/vprof.cpp
@@ -88,17 +88,17 @@
 
 static entry* entries = NULL;
 static bool notInitialized = true;
 static long glock = LOCK_IS_FREE;
 
 #define Lock(lock) while (_InterlockedCompareExchange(lock, LOCK_IS_TAKEN, LOCK_IS_FREE) == LOCK_IS_TAKEN){};
 #define Unlock(lock) _InterlockedCompareExchange(lock, LOCK_IS_FREE, LOCK_IS_TAKEN);
 
-#if defined(WIN32) && !defined(UNDER_CE)
+#if defined(WIN32)
 	static void vprof_printf(const char* format, ...)
 	{
 		va_list args;
 		va_start(args, format);
 
 		char buf[1024];
 		vsnprintf(buf, sizeof(buf), format, args);