Permalink
Browse files

core, bugfix: GLIBC dependency issues under Linux.

  • Loading branch information...
xicilion committed Jun 23, 2018
1 parent 327b2d2 commit 637a9ef5d19f4a60b0deab9ca44a76c97214cd1d
Showing with 10 additions and 0 deletions.
  1. +5 −0 fibjs/src/base/Runtime.cpp
  2. +5 −0 fibjs/src/base/fuck_sym.cpp
@@ -31,6 +31,7 @@ void init_date();
void init_acThread();
void init_aio();
void init_process();
void init_sym();
void init_argv(int32_t argc, char** argv);
void init_start_argv(int32_t argc, char** argv);
@@ -58,6 +59,10 @@ static void init()
init_aio();
init_process();
#ifdef Linux
init_sym();
#endif
srand((unsigned int)time(0));
v8::Platform* platform = v8::platform::CreateDefaultPlatform();
@@ -7,6 +7,11 @@
#include <stdlib.h>
#include <stdio.h>
namespace fibjs {
void init_sym()
{}
}
extern "C" {
#ifdef HAVE_GLIB_C_225_H

0 comments on commit 637a9ef

Please sign in to comment.