diff options
author | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-22 01:41:20 +0000 |
---|---|---|
committer | luther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-22 01:41:20 +0000 |
commit | e98d6a4fa00a4dfdbcf329dcc45d2d801375d2f1 (patch) | |
tree | b248ff8f561ac195bc25a1045a7d5f81caea49e5 /PACE | |
parent | c6dc304d604dfe2e61c746eb10b5c7375637e483 (diff) | |
download | ATCD-e98d6a4fa00a4dfdbcf329dcc45d2d801375d2f1.tar.gz |
Mon Aug 21 20:34:51 2000 Luther J Baker <luther@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r-- | PACE/ChangeLog | 7 | ||||
-rw-r--r-- | PACE/pace/config/features.h | 23 |
2 files changed, 30 insertions, 0 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog index 9ae50c5724d..ab4ee4ab35b 100644 --- a/PACE/ChangeLog +++ b/PACE/ChangeLog @@ -1,3 +1,10 @@ +Mon Aug 21 20:34:51 2000 Luther J Baker <luther@cs.wustl.edu> + + * pace/config/features.h: + + Updated to reflect PACE_HAS_MFC and PACE_MT_SAFE. + Following ace/config-win32-common.h. + Mon Aug 21 19:40:23 2000 Luther J Baker <luther@cs.wustl.edu> * pace/win32/pthread.c (pthread_attr_init): diff --git a/PACE/pace/config/features.h b/PACE/pace/config/features.h index 6436618f3a0..d9b3d56040a 100644 --- a/PACE/pace/config/features.h +++ b/PACE/pace/config/features.h @@ -18,6 +18,29 @@ /* Features: Can be customized by the developer. */ +#if defined (WIN32) + +/* If using win32 .. define PACE_HAS_MFC to 1, if you want ACE to use + * CWinThread. This should be defined, if your application uses MFC. + * Setting applies to : building PACE + * Runtime restrictions: MFC DLLs must be installed + * Additonal notes : If both PACE_HAS_MFC and PACE_MT_SAFE are + * defined, the MFC DLL (not the static lib) + * will be used from ACE. */ +# if !defined (PACE_HAS_MFC) +# define PACE_HAS_MFC 0 +# endif /* PACE_HAS_MFC */ + +/* Turn off the following define if you want to disable threading. + * Compile using multi-thread libraries. + * Setting applies to : building PACE, linking with PACE + * Runtime restrictions: multithreaded runtime DLL must be installed. */ +# if !defined (PACE_MT_SAFE) +# define PACE_MT_SAFE 1 +# endif /* PACE_MT_SAFE */ + +#endif /* WIN32 */ + #endif /* PACE_CONFIG_FEATURES_H */ |