[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-patches
Subject:    [Mono-patches] r154573 - trunk/mono/mono/utils
From:       "Miguel de Icaza (miguel () novell ! com)"
Date:       2010-03-31 19:59:23
Message-ID: 20100331195923.07EAF26064 () mono-cvs ! ximian ! com
[Download RAW message or body]

Author: miguel
Date: 2010-03-31 15:59:22 -0400 (Wed, 31 Mar 2010)
New Revision: 154573

Modified:
   trunk/mono/mono/utils/ChangeLog
   trunk/mono/mono/utils/mono-semaphore.h
Log:
2010-03-31  Miguel de Icaza  <miguel@novell.com>

	* mono-semaphore.h: Use Windows semaphores on Windows, patch
	contributed by Vincent Povirk from bugzilla #531767

Modified: trunk/mono/mono/utils/ChangeLog
===================================================================
--- trunk/mono/mono/utils/ChangeLog	2010-03-31 19:22:55 UTC (rev 154572)
+++ trunk/mono/mono/utils/ChangeLog	2010-03-31 19:59:22 UTC (rev 154573)
@@ -1,5 +1,10 @@
 2010-03-31  Miguel de Icaza  <miguel@novell.com>
 
+	* mono-semaphore.h: Use Windows semaphores on Windows, patch
+	contributed by Vincent Povirk from bugzilla #531767
+
+2010-03-31  Miguel de Icaza  <miguel@novell.com>
+
 	* mono-hash.c (test_prime): Remove warnings
 
 2010-03-27  Zoltan Varga  <vargaz@gmail.com>

Modified: trunk/mono/mono/utils/mono-semaphore.h
===================================================================
--- trunk/mono/mono/utils/mono-semaphore.h	2010-03-31 19:22:55 UTC (rev 154572)
+++ trunk/mono/mono/utils/mono-semaphore.h	2010-03-31 19:59:22 UTC (rev 154573)
@@ -36,7 +36,7 @@
 #    define MONO_SEM_POST(sem) mono_sem_post ((sem))
 #    define MONO_SEM_DESTROY(sem) sem_destroy ((sem))
 #  endif
-#elif defined(HOST_WIN32) || defined(_WAPI_SEMAPHORES_H)
+#elif defined(TARGET_WIN32) || defined(_WAPI_SEMAPHORES_H)
 #  define MONO_HAS_SEMAPHORES
 typedef HANDLE MonoSemType;
 #    define MONO_SEM_INIT(addr,initial) do {*(addr) = CreateSemaphore ( \
NULL,(initial),0x7FFFFFFF,NULL);} while(0)

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic