projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radv: set writes_memory for global memory stores/atomics
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_dl.h
diff --git
a/src/gallium/auxiliary/util/u_dl.h
b/src/gallium/auxiliary/util/u_dl.h
index 2853b447c61070f9a3a7d012af0ca45f62e38c15..d2f4737d42a858ace8032b48c4224a91f252741d 100644
(file)
--- a/
src/gallium/auxiliary/util/u_dl.h
+++ b/
src/gallium/auxiliary/util/u_dl.h
@@
-32,13
+32,19
@@
#include "pipe/p_config.h"
#include "pipe/p_config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
#if defined(PIPE_OS_WINDOWS)
# define UTIL_DL_EXT ".dll"
#if defined(PIPE_OS_WINDOWS)
# define UTIL_DL_EXT ".dll"
+# define UTIL_DL_PREFIX ""
#elif defined(PIPE_OS_APPLE)
# define UTIL_DL_EXT ".dylib"
#elif defined(PIPE_OS_APPLE)
# define UTIL_DL_EXT ".dylib"
+# define UTIL_DL_PREFIX "lib"
#else
# define UTIL_DL_EXT ".so"
#else
# define UTIL_DL_EXT ".so"
+# define UTIL_DL_PREFIX "lib"
#endif
#endif
@@
-76,5
+82,8
@@
util_dl_close(struct util_dl_library *library);
const char *
util_dl_error(void);
const char *
util_dl_error(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* U_DL_H_ */
#endif /* U_DL_H_ */