Remove the dependance to ltdl.h for all the the places where we dont't really need it. Read
the comment for more informations. This commit was SVN r8466.
Этот коммит содержится в:
родитель
505d830b3f
Коммит
6e5aeab0b5
@ -21,10 +21,16 @@
|
|||||||
|
|
||||||
#include "ompi_config.h"
|
#include "ompi_config.h"
|
||||||
|
|
||||||
#if OMPI_WANT_LIBLTDL
|
/* This file provide the external interface to our base component module.
|
||||||
#include "opal/libltdl/ltdl.h"
|
* At this level we don't need a proper definition for the lt_dlhandle,
|
||||||
#else
|
* just a void* is enought. Except for all file that really require the
|
||||||
/* if we don't have libltdl, provide dummy handle type */
|
* header ltdl.h because they use functions declared inside. As the ltdl.h
|
||||||
|
* header file define LTDL_H when it get included, we can use it to detect
|
||||||
|
* if we have to furnish our fake definition for the lt_dlhandle. However,
|
||||||
|
* all files needing the ltdl.h header have to includ it before including
|
||||||
|
* this one.
|
||||||
|
*/
|
||||||
|
#if !defined(LTDL_H)
|
||||||
typedef void* lt_dlhandle;
|
typedef void* lt_dlhandle;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user