mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 19:45:23 -04:00
fix
This commit is contained in:
parent
34cf16ac33
commit
e192c0a8eb
@ -1,5 +1,5 @@
|
||||
CC=gcc
|
||||
LIBS=-lGL -lcurl -lopenal -lpthread -lX11 -lm
|
||||
LIBS=-lGL -lcurl -lopenal -lpthread -lX11 -lm -ldl
|
||||
CFLAGS=-g -w -no-pie -rdynamic
|
||||
SOURCES=$(wildcard *.c)
|
||||
OBJECTS=$(patsubst %.c, %.o, $(SOURCES))
|
||||
|
@ -62,6 +62,7 @@ ReturnCode ReturnCode_SocketWouldBlock = WSAEWOULDBLOCK;
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <dlfcn.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
@ -1902,7 +1903,7 @@ ReturnCode Platform_LoadLibrary(const String* path, void** lib) {
|
||||
}
|
||||
|
||||
ReturnCode Platform_GetSymbol(void* lib, const char* name, void** symbol) {
|
||||
*symbol = GetProcAddress(lib, symbol);
|
||||
*symbol = GetProcAddress(lib, name);
|
||||
return Win_Return(*symbol);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user