diff --git a/dlls/pgsql/Makefile b/dlls/pgsql/Makefile index a49ce7c1..71d44010 100755 --- a/dlls/pgsql/Makefile +++ b/dlls/pgsql/Makefile @@ -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) diff --git a/dlls/pgsql/lib/libpq.a b/dlls/pgsql/lib/libpq.a index 0fead674..2cfa470c 100755 Binary files a/dlls/pgsql/lib/libpq.a and b/dlls/pgsql/lib/libpq.a differ diff --git a/dlls/pgsql/pgsql_amx.cpp b/dlls/pgsql/pgsql_amx.cpp index 1af1f553..b86fb98d 100755 --- a/dlls/pgsql/pgsql_amx.cpp +++ b/dlls/pgsql/pgsql_amx.cpp @@ -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}, };