From cb41becd23ff810a245cda22f0308e552783040f Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Thu, 24 Jun 2010 17:55:36 +0000 Subject: Modified to use the DB2INCLUDE environment variable for proper compilation in dedicated build directories (usually on local rather than home). --- diff --git a/src/controller/actions/selection_from_db.sqc b/src/controller/actions/selection_from_db.sqc index 675bc2c..8e52bd2 100644 --- a/src/controller/actions/selection_from_db.sqc +++ b/src/controller/actions/selection_from_db.sqc @@ -19,7 +19,7 @@ selection_from_db (void) * db2dclgn -d exp004 -t vis_sel_set */ EXEC SQL BEGIN DECLARE SECTION; - EXEC SQL INCLUDE 'controller/actions/vis_sel_set.h'; + EXEC SQL INCLUDE vis_sel_set; EXEC SQL END DECLARE SECTION; EXEC SQL DECLARE c3 CURSOR FOR diff --git a/src/model/data/base.sqc b/src/model/data/base.sqc index 4627bea..9d02ce5 100644 --- a/src/model/data/base.sqc +++ b/src/model/data/base.sqc @@ -29,7 +29,7 @@ base (void) * db2dclgn -d exp004 -t coordinates */ EXEC SQL BEGIN DECLARE SECTION; - EXEC SQL INCLUDE 'model/data/coordinates.h'; + EXEC SQL INCLUDE coordinates; sqlint32 rows; EXEC SQL END DECLARE SECTION; -- cgit v0.8.3.1-22-g547a