projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/master' into gallium-msaa
[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 018b38543b039658f7eaf0387ce81c058851fdf1..2853b447c61070f9a3a7d012af0ca45f62e38c15 100644
(file)
--- a/
src/gallium/auxiliary/util/u_dl.h
+++ b/
src/gallium/auxiliary/util/u_dl.h
@@
-30,6
+30,18
@@
#define U_DL_H_
#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;
struct util_dl_library;
@@
-58,4
+70,11
@@
void
util_dl_close(struct util_dl_library *library);
util_dl_close(struct util_dl_library *library);
+/**
+ * Return most recent error message.
+ */
+const char *
+util_dl_error(void);
+
+
#endif /* U_DL_H_ */
#endif /* U_DL_H_ */