From: José Fonseca Date: Wed, 23 Dec 2009 13:23:39 +0000 (+0000) Subject: util: Define common dynamic library extensions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88b2d8f796a23e8bb783076eaba711d89757a69e;p=mesa.git util: Define common dynamic library extensions. --- diff --git a/src/gallium/auxiliary/util/u_dl.h b/src/gallium/auxiliary/util/u_dl.h index 018b38543b0..85296c58af6 100644 --- a/src/gallium/auxiliary/util/u_dl.h +++ b/src/gallium/auxiliary/util/u_dl.h @@ -30,6 +30,18 @@ #define U_DL_H_ +#include "pipe/p_config.h" + + +#if defined(PIPE_OS_WINDOWS) +# define UTIL_DL_EXT ".dll" +#elif defined(PIPE_OS_APPLE) +# define UTIL_DL_EXT ".dylib" +#else +# define UTIL_DL_EXT ".so" +#endif + + struct util_dl_library;