ext/load.c in rjb-1.4.2 vs ext/load.c in rjb-1.4.3
- old
+ new
@@ -10,11 +10,11 @@
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
- * $Id: load.c 180 2011-12-05 16:34:29Z arton $
+ * $Id: load.c 193 2012-10-06 05:42:09Z arton $
*/
#include <stdlib.h>
#include <stdio.h>
#include "ruby.h"
@@ -104,10 +104,9 @@
static int open_jvm(char* libpath)
{
int sstat;
VALUE* argv;
-
rb_require("dl");
#if !defined(RUBINIUS)
if (!rb_const_defined_at(rb_cObject, rb_intern("DL")))
{
rb_raise(rb_eRuntimeError, "Constants DL is not defined.");