Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge loadlib changes to loadlib_rel.
  • Loading branch information
drahosp committed Dec 15, 2015
commit 94f9f6c6ed0fbc1b49ab4a896d6a587ce8815e36
5 changes: 3 additions & 2 deletions src/loadlib_rel.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "lprefix.h"


#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Expand Down Expand Up @@ -228,8 +229,8 @@ static void setprogdir(lua_State *L) {
#include <dlfcn.h>

/*
** Macro to covert pointer to void* to pointer to function. This cast
** is undefined according to ISO C, but POSIX assumes that it must work.
** Macro to convert pointer-to-void* to pointer-to-function. This cast
** is undefined according to ISO C, but POSIX assumes that it works.
** (The '__extension__' in gnu compilers is only to avoid warnings.)
*/
#if defined(__GNUC__)
Expand Down