summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/semaerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/semaerr.c')
-rw-r--r--nsprpub/pr/tests/semaerr.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/nsprpub/pr/tests/semaerr.c b/nsprpub/pr/tests/semaerr.c
index 4e6a8ff27..f3c253b4f 100644
--- a/nsprpub/pr/tests/semaerr.c
+++ b/nsprpub/pr/tests/semaerr.c
@@ -8,8 +8,19 @@
#include <stdio.h>
-#define NO_SUCH_SEM_NAME "/tmp/nosuchsem.sem"
-#define SEM_NAME1 "/tmp/foo.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 NO_SUCH_SEM_NAME "/tmp/nosuchsem.sem" SEM_D SEM_64
+#define SEM_NAME1 "/tmp/foo.sem" SEM_D SEM_64
#define EXE_NAME "semaerr1"
#define SEM_MODE 0666