Fixups for nacl at head revision.
[mono.git] / mono / utils / mono-threads.h
index db4817e1a3906ac702bdcda9b60d529b9ca892a2..5c20774b68981effde5a1229cb32100afc72c1ea 100644 (file)
@@ -73,7 +73,7 @@ typedef struct {
        int suspend_count;
 
        /* only needed by the posix backend */ 
-#if defined(_POSIX_VERSION) && !defined (__MACH__)
+#if (defined(_POSIX_VERSION) || defined(__native_client__)) && !defined (__MACH__)
        MonoSemType suspend_semaphore;
        MonoSemType resume_semaphore; 
        MonoSemType finish_resume_semaphore;