aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2016-12-07 12:52:46 +0100
committerGertjan van den Burg <burg@ese.eur.nl>2016-12-07 12:52:46 +0100
commitf8979e27e3081b8115f1fe44e318ec6d80bd4f5d (patch)
tree2001f489efb3ccb9fe1f77abc8018cba4c17291b /include
parentswitch some integer variables to long for cross platform size guarantees (diff)
downloadgensvm-f8979e27e3081b8115f1fe44e318ec6d80bd4f5d.tar.gz
gensvm-f8979e27e3081b8115f1fe44e318ec6d80bd4f5d.zip
add ifndef and GENSVM_ before defines
Diffstat (limited to 'include')
-rw-r--r--include/gensvm_globals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gensvm_globals.h b/include/gensvm_globals.h
index 75b13d5..eaccda8 100644
--- a/include/gensvm_globals.h
+++ b/include/gensvm_globals.h
@@ -51,7 +51,9 @@
/**
* Maximum line length of files that are read into GenSVM.
*/
-#define MAX_LINE_LENGTH 1024
+#ifndef GENSVM_MAX_LINE_LENGTH
+ #define GENSVM_MAX_LINE_LENGTH 1024
+#endif
#ifndef MIN_MAX_DEFINE
/**