projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.2.34
[yaz-moved-to-github.git]
/
src
/
oidtoc.tcl
diff --git
a/src/oidtoc.tcl
b/src/oidtoc.tcl
index
87443e1
..
fd35d0f
100644
(file)
--- a/
src/oidtoc.tcl
+++ b/
src/oidtoc.tcl
@@
-2,7
+2,6
@@
# Copyright (c) Index Data 2006-2007
# See the file LICENSE for details.
#
# Copyright (c) Index Data 2006-2007
# See the file LICENSE for details.
#
-# $Id: oidtoc.tcl,v 1.8 2007-05-31 12:14:02 adam Exp $
#
# Converts a CSV file with Object identifiers to C
#
# Converts a CSV file with Object identifiers to C
@@
-110,6
+109,10
@@
proc oid_to_c {srcdir input cname hname} {
puts $hfile "\#ifndef OID_STD_H"
puts $hfile "\#define OID_STD_H"
puts $hfile "\#ifndef OID_STD_H"
puts $hfile "\#define OID_STD_H"
+ puts $cfile "\#if HAVE_CONFIG_H"
+ puts $cfile "\#include <config.h>"
+ puts $cfile "\#endif"
+
puts $cfile "\#include <yaz/oid_db.h>"
puts $cfile ""
# To avoid LNK4049
puts $cfile "\#include <yaz/oid_db.h>"
puts $cfile ""
# To avoid LNK4049