summaryrefslogtreecommitdiff
path: root/dmydln.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 00:55:03 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-24 00:55:03 (GMT)
commit9afa9ba9673370d98d433ba24c06282ca8f1e5e8 (patch)
tree09db74238be5826797c359dbd5d2d5ca411c1a4b /dmydln.c
parent5fe5eb264d79e4ffa7c77b1a09d1de69469fffb9 (diff)
* dln_find.c: split from dln.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmydln.c')
-rw-r--r--dmydln.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/dmydln.c b/dmydln.c
index 09ea068..2c8aacc 100644
--- a/dmydln.c
+++ b/dmydln.c
@@ -1,2 +1,7 @@
-#define NO_DLN_LOAD 1
-#include "dln.c"
+#include "ruby/ruby.h"
+
+void*
+dln_load(const char *file)
+{
+ rb_loaderror("this executable file can't load extension libraries");
+}