summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2010-06-24 17:55:36 (GMT)
committer Don Pellegrino <don@drexel.edu>2010-06-24 17:55:36 (GMT)
commitcb41becd23ff810a245cda22f0308e552783040f (patch) (side-by-side diff)
treef152c999933b4e6a28b7bc5db53fbbeb44c9084f
parent17fd5ba7712a14a0a99ed74556568c0f6ca7eaae (diff)
downloadexp005-cb41becd23ff810a245cda22f0308e552783040f.zip
exp005-cb41becd23ff810a245cda22f0308e552783040f.tar.gz
exp005-cb41becd23ff810a245cda22f0308e552783040f.tar.bz2
Modified to use the DB2INCLUDE environment variable for proper
compilation in dedicated build directories (usually on local rather than home).
-rw-r--r--src/controller/actions/selection_from_db.sqc2
-rw-r--r--src/model/data/base.sqc2
2 files changed, 2 insertions, 2 deletions
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;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.