declare sexp_static_libraries as a pointer, not array

This commit is contained in:
Alex Shinn 2014-12-25 14:20:04 +09:00
parent f869fa7475
commit 146d6151df

2
eval.c
View file

@ -1222,7 +1222,7 @@ sexp sexp_get_port_fileno (sexp ctx, sexp self, sexp_sint_t n, sexp port) {
#if SEXP_USE_STATIC_LIBS #if SEXP_USE_STATIC_LIBS
#if SEXP_USE_STATIC_LIBS_NO_INCLUDE #if SEXP_USE_STATIC_LIBS_NO_INCLUDE
struct sexp_library_entry_t sexp_static_libraries[]; struct sexp_library_entry_t* sexp_static_libraries;
#else #else
#include "clibs.c" #include "clibs.c"
#endif #endif