From dc31a4fc40e3c6630b6e2d10e6986774da1e7f79 Mon Sep 17 00:00:00 2001 From: tiagosoares Date: Mon, 24 Apr 2006 12:04:21 +0000 Subject: [PATCH] MYDDAS: Compilation error corrected. When MYDDAS_ODBC was enabled and MYDDAS_MYSQL not, it wouldn't compile. Bug report from Keri Harris. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1608 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- H/Yapproto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/H/Yapproto.h b/H/Yapproto.h index e2e3c04a6..a51d6a38d 100644 --- a/H/Yapproto.h +++ b/H/Yapproto.h @@ -10,7 +10,7 @@ * File: Yap.proto * * mods: * * comments: Function declarations for YAP * -* version: $Id: Yapproto.h,v 1.72 2006-03-20 19:51:44 vsc Exp $ * +* version: $Id: Yapproto.h,v 1.73 2006-04-24 12:04:21 tiagosoares Exp $ * *************************************************************************/ /* prototype file for Yap */ @@ -326,8 +326,10 @@ void STD_PROTO(Yap_InitUtilCPreds,(void)); /* myddas_initialization.c */ MYDDAS_GLOBAL STD_PROTO(myddas_util_initialize_myddas,(void)); +#ifdef MYDDAS_MYSQL /* myddas_util.c */ void STD_PROTO(myddas_util_table_write,(MYSQL_RES *)); +#endif /* Returns the connection type (mysql -> 1 or odbc -> 2) */ Short STD_PROTO(myddas_util_connection_type,(void *)); /* Adds a connection identifier to the MYDDAS connections list*/