ecere/sys/Thread (Emscripten): Defining 'id' member used by dcom.ec
authorJerome St-Louis <jerome@ecere.com>
Sun, 3 Jul 2016 10:25:25 +0000 (06:25 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:14 +0000 (18:23 -0400)
ecere/src/sys/Thread.ec

index b04144c..47baf5a 100644 (file)
@@ -55,6 +55,8 @@ public class Thread
    pthread_t id;
    bool dontDetach;
    Semaphore sem { };
+#else
+   uint id;
 #endif
 
    uint returnCode;