linux build again

This commit is contained in:
David Anderson 2004-04-02 21:18:48 +00:00
parent 35f04bd679
commit 688e986999
3 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ endif
LIBFILE_LINUX = $(MODNAME)_i686.so
LIBFILE_LINUX = $(MODNAME)_i386.so
LIBFILE_WIN32 = $(MODNAME).dll
TARGET_LINUX = $(OBJDIR_LINUX)/$(LIBFILE_LINUX)
TARGET_WIN32 = $(OBJDIR_WIN32)/$(LIBFILE_WIN32)
@ -56,7 +56,7 @@ OBJ_WIN32 := $(SRCFILES:%.cpp=$(OBJDIR_WIN32)/%.o)
#CCOPT = -funroll-loops \
INCLUDEDIRS=-I../curl/include -I$(SRCDIR) -I$(METADIR) -I$(SDKSRC)/engine -I$(SDKSRC)/common -I$(SDKSRC)/pm_shared -I$(SDKSRC)/dlls -I$(SDKSRC) $(EXTRA_INCLUDEDIRS)
CFLAGS=-Wall -Wno-unknown-pragmas -march=i686
CFLAGS=-Wall -Wno-unknown-pragmas -march=i386
ODEF = -DOPT_TYPE=\"optimized\"
CFLAGS:=$(CCOPT) $(CFLAGS) $(ODEF) $(EXTRA_FLAGS)

Binary file not shown.

View File

@ -195,6 +195,7 @@ AMX_NATIVE_INFO pgsql_exports[] = {
{"pgsql_query", pgsql_query},
{"pgsql_nextrow", pgsql_nextrow},
{"pgsql_close", pgsql_close},
{"pgsql_getfield", pgsql_getfield},
{NULL, NULL},
};