1
1

Include the intercept_extra_state_t_class in the library. The logic I

added there on my last commit was wrong. This variable should be included
only once, and here is the right way of doing:
- if we have weak symbols we compile each file once, so the variable should
  [always] get included.
- if we don't have weak symbols, then each file will get compiled multiple
  times (if profiling is enabled). In this case include the variable only
  when we build the generic layer (not the profile one).

This commit was SVN r16950.
Этот коммит содержится в:
George Bosilca 2007-12-13 01:06:55 +00:00
родитель 93f39fa190
Коммит aee802ddfa

Просмотреть файл

@ -92,7 +92,7 @@ typedef struct intercept_extra_state {
OBJ_CLASS_DECLARATION(intercept_extra_state_t);
#if !OMPI_PROFILE_LAYER
#if !OMPI_PROFILE_LAYER || OMPI_HAVE_WEAK_SYMBOLS
static void intercept_extra_state_constructor(intercept_extra_state_t *obj)
{
obj->read_fn_f77 = NULL;