small stuff

This commit is contained in:
Vítor Santos Costa 2015-03-23 16:17:24 +00:00
parent 16c8d54f0e
commit 5d27ad0243
2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ MYDDAS_SOURCES= \
myddas_odbc.c \ myddas_odbc.c \
myddas_postgres.c \ myddas_postgres.c \
myddas_sqlite3.c \ myddas_sqlite3.c \
myddas_util.c \ myddas_util.c \
myddas_initialization.c \ myddas_initialization.c \
myddas_shared.c \ myddas_shared.c \
myddas_statistics.c \ myddas_statistics.c \
@ -71,7 +71,7 @@ MYDDAS_PROLOG= \
OBJS= $(MYDDAS_SOURCES:.c=.o) OBJS= $(MYDDAS_SOURCES:.c=.o)
MYDDAS_YAP= $(MYDDAS_PROLOG:.ypp=.yap) MYDDAS_YAP= $(MYDDAS_PROLOG:.ypp=.yap)
SOBJS= libmyddas.@SO@ SOBJS= myddas.@SO@
#in some systems we just create a single object, in others we need to #in some systems we just create a single object, in others we need to
# create a libray # create a libray

View File

@ -15,9 +15,9 @@
* * * *
*************************************************************************/ *************************************************************************/
#if 1 //USE_MYDDAS #if USE_MYDDAS
:- load_foreign_files([libmyddas], [], init_myddas). :- load_foreign_files([myddas], [], init_myddas).
/* Initialize MYDDAS GLOBAL STRUCTURES */ /* Initialize MYDDAS GLOBAL STRUCTURES */
:- c_db_initialize_myddas. :- c_db_initialize_myddas.
@ -870,7 +870,7 @@
% db_open/4 % db_open/4
% %
#if 1 // MYDDAS_DECLARATIONS #if MYDDAS_DECLARATIONS
:- db_open(Protocol) extra_arguments :- db_open(Protocol) extra_arguments
db=Db, db=Db,
port=Port, port=Port,