We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd532b3 commit f640d28Copy full SHA for f640d28
1 file changed
lightweightsemaphore.h
@@ -24,6 +24,8 @@ extern "C" {
24
}
25
#elif defined(__MACH__)
26
#include <mach/mach.h>
27
+#elif defined(__MVS__)
28
+#include <zos-semaphore.h>
29
#elif defined(__unix__)
30
#include <semaphore.h>
31
#elif defined(__MVS__)
@@ -167,9 +169,9 @@ class Semaphore
167
169
168
170
171
};
-#elif defined(__unix__)
172
+#elif defined(__unix__) || defined(__MVS__)
173
//---------------------------------------------------------
-// Semaphore (POSIX, Linux)
174
+// Semaphore (POSIX, Linux, zOS)
175
176
class Semaphore
177
{
0 commit comments