summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-11-26 17:36:23 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-11-26 17:36:23 +0000
commitc7520b18627118def5cb1314e85f4e81f6ee794f (patch)
tree4568ffaa041e3515953ad6d5bb52180e030279e3 /tests
parent281856a9bdc35f872616054ed348e8ee5b16ac5f (diff)
downloadATCD-c7520b18627118def5cb1314e85f4e81f6ee794f.tar.gz
added VXWORKS support (same as WIN32: spawn instead of fork)
Diffstat (limited to 'tests')
-rw-r--r--tests/CPP_Test.cpp2
-rw-r--r--tests/Mutex_Test.cpp2
-rw-r--r--tests/Shared_Memory_MM_Test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/CPP_Test.cpp b/tests/CPP_Test.cpp
index 41c21f23cd7..c69af637297 100644
--- a/tests/CPP_Test.cpp
+++ b/tests/CPP_Test.cpp
@@ -223,7 +223,7 @@ server (void *)
static void
spawn (void)
{
-#if !defined (ACE_WIN32)
+#if !defined (ACE_WIN32) && !defined (VXWORKS)
switch (ACE_OS::fork ())
{
case -1:
diff --git a/tests/Mutex_Test.cpp b/tests/Mutex_Test.cpp
index ed5181c1ba5..a149243aa75 100644
--- a/tests/Mutex_Test.cpp
+++ b/tests/Mutex_Test.cpp
@@ -54,7 +54,7 @@ spawn (void)
{
char *name = "hello";
-#if !defined (ACE_WIN32)
+#if !defined (ACE_WIN32) && !defined (VXWORKS)
switch (ACE_OS::fork ())
{
case -1:
diff --git a/tests/Shared_Memory_MM_Test.cpp b/tests/Shared_Memory_MM_Test.cpp
index a98f1a56ce1..b8e6de208c5 100644
--- a/tests/Shared_Memory_MM_Test.cpp
+++ b/tests/Shared_Memory_MM_Test.cpp
@@ -92,7 +92,7 @@ server (void *)
static void
spawn (void)
{
-#if !defined (ACE_WIN32)
+#if !defined (ACE_WIN32) && !defined (VXWORKS)
switch (ACE_OS::fork ())
{
case -1: