Module: Mesa
Branch: master
Commit: 88b2d8f796a23e8bb783076eaba711d89757a69e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=88b2d8f796a23e8bb783076eaba711d89757a69e

Author: José Fonseca <[email protected]>
Date:   Wed Dec 23 13:23:39 2009 +0000

util: Define common dynamic library extensions.

---

 src/gallium/auxiliary/util/u_dl.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_dl.h 
b/src/gallium/auxiliary/util/u_dl.h
index 018b385..85296c5 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;
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to