projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2a615e
)
util: Define common dynamic library extensions.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 23 Dec 2009 13:23:39 +0000
(13:23 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 23 Dec 2009 16:38:50 +0000
(16:38 +0000)
src/gallium/auxiliary/util/u_dl.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_dl.h
b/src/gallium/auxiliary/util/u_dl.h
index 018b38543b039658f7eaf0387ce81c058851fdf1..85296c58af640d6d44386e380207d25d1c8f2dcf 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_
+#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;