summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/sema.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/sema.c')
-rw-r--r--nsprpub/pr/tests/sema.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/nsprpub/pr/tests/sema.c b/nsprpub/pr/tests/sema.c
index 76198eb047..81ccd01b7a 100644
--- a/nsprpub/pr/tests/sema.c
+++ b/nsprpub/pr/tests/sema.c
@@ -8,8 +8,19 @@
#include <stdio.h>
-#define SEM_NAME1 "/tmp/foo.sem"
-#define SEM_NAME2 "/tmp/bar.sem"
+#ifdef DEBUG
+#define SEM_D "D"
+#else
+#define SEM_D
+#endif
+#ifdef IS_64
+#define SEM_64 "64"
+#else
+#define SEM_64
+#endif
+
+#define SEM_NAME1 "/tmp/foo.sem" SEM_D SEM_64
+#define SEM_NAME2 "/tmp/bar.sem" SEM_D SEM_64
#define SEM_MODE 0666
#define ITERATIONS 1000