summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-07 22:33:01 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-12-07 22:33:01 +0000
commit98af5f8546a736ea2288db80d92bfba606f888a5 (patch)
treed4ceec186da49b3599b5f518fb431c74d57f1396 /tests
parent123e01cebd6640c718ab4fc68bc36fcf9f4758f4 (diff)
downloadATCD-98af5f8546a736ea2288db80d92bfba606f888a5.tar.gz
ChangeLogTag:Fri Dec 07 14:28:33 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/ACE_Init_Test.cpp8
-rw-r--r--tests/ACE_Init_TestDlg.cpp6
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/ACE_Init_Test.cpp b/tests/ACE_Init_Test.cpp
index ccb833b6c38..abbcc23a106 100644
--- a/tests/ACE_Init_Test.cpp
+++ b/tests/ACE_Init_Test.cpp
@@ -14,9 +14,9 @@
//
// ACE_Init_Test.cpp : Defines the class behaviors for the application.
-#include "test_config.h"
+#if !defined(ACE_HAS_MFC)
-#if !defined(ACE_WIN32)
+#include "test_config.h"
// If this is not a WIN32 platform do not even try to compile the
// test, many of the #includes make little sense.
@@ -35,6 +35,8 @@ main (int, char*[])
#include "ACE_Init_Test_StdAfx.h"
#include "ACE_Init_Test.h"
#include "ACE_Init_TestDlg.h"
+#include "test_config.h"
+
#include "ace/Thread_Manager.h"
@@ -126,4 +128,4 @@ wait_and_kill_dialog (void *pBox)
}
-#endif /* ACE_WIN32 */
+#endif /* ACE_HAS_MFC */
diff --git a/tests/ACE_Init_TestDlg.cpp b/tests/ACE_Init_TestDlg.cpp
index 33530894587..4bfad2516b0 100644
--- a/tests/ACE_Init_TestDlg.cpp
+++ b/tests/ACE_Init_TestDlg.cpp
@@ -2,9 +2,7 @@
// ACE_Init_TestDlg.cpp : implementation file
//
-#include "ace/config.h"
-
-#if defined(ACE_WIN32)
+#if defined(ACE_HAS_MFC)
#include "ACE_Init_Test_StdAfx.h"
#include "ACE_Init_Test.h"
@@ -97,4 +95,4 @@ HCURSOR CACE_Init_TestDlg::OnQueryDragIcon()
return (HCURSOR) m_hIcon;
}
-#endif /* ACE_WIN32 */
+#endif /* ACE_HAS_MFC */