mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-04-06 17:06:46 +02:00
add PSP config file
This commit is contained in:
parent
8b5739dc00
commit
4a6a522e33
13
src/config.h
Normal file
13
src/config.h
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* This file is needed to compile PSP stubs
|
||||
*/
|
||||
|
||||
#define STDC_HEADERS
|
||||
#define HAVE_STRING_H
|
||||
#define HAVE_MEMORY_H
|
||||
#define HAVE_STDLIB_H
|
||||
//#define ENABLE_PTHREAD
|
||||
//#define ENABLE_NLS
|
||||
#define HAVE_MEMCPY
|
||||
|
||||
#include "netdb-compat.h"
|
@ -312,7 +312,7 @@ SOCKET=$(SOCKET_$(PLAT))
|
||||
#
|
||||
CC=$(CC_$(PLAT))
|
||||
DEF=$(DEF_$(PLAT))
|
||||
CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) -DSTDC_HEADERS -DHAVE_STDLIB_H
|
||||
CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) -DHAVE_CONFIG_H
|
||||
LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
|
||||
LD=$(LD_$(PLAT))
|
||||
LUAINC= $(LUAINC_$(PLAT))
|
||||
|
Loading…
x
Reference in New Issue
Block a user