Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit74558b4

Browse files
omadjoudjFelipe Zimmerle
authored and
Felipe Zimmerle
committed
Fix build issue with Lua >= 5.3
1 parentcb91850 commit74558b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎apache2/msc_lua.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ char *lua_compile(msc_script **script, const char *filename, apr_pool_t *pool) {
111111
dump.pool=pool;
112112
dump.parts=apr_array_make(pool,128,sizeof(msc_script_part*));
113113

114+
#ifLUA_VERSION_NUM >=503
115+
lua_dump(L,dump_writer,&dump,1);
116+
#else
114117
lua_dump(L,dump_writer,&dump);
115-
118+
#endif
116119
(*script)=apr_pcalloc(pool,sizeof(msc_script));
117120
(*script)->name=filename;
118121
(*script)->parts=dump.parts;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp