summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-17 20:10:20 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-17 20:10:20 +0000
commitf7bb362c39fd7d9fcc829e92af2ce31394f8d717 (patch)
tree0463ab3fa746131f68d27953c4973e732bdb65e4 /src/path-prefix.h
parentUpdate InkscapePortable.ini to use \share\locale instead of \locale for langu... (diff)
downloadinkscape-f7bb362c39fd7d9fcc829e92af2ce31394f8d717.tar.gz
inkscape-f7bb362c39fd7d9fcc829e92af2ce31394f8d717.zip
Cleanup: eliminate require-config.h
It's widely unused and seems harly necessary.
Diffstat (limited to 'src/path-prefix.h')
-rw-r--r--src/path-prefix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h
index 77fd90da5..1c17ce2d8 100644
--- a/src/path-prefix.h
+++ b/src/path-prefix.h
@@ -13,7 +13,9 @@
#ifndef SEEN_PATH_PREFIX_H
#define SEEN_PATH_PREFIX_H
-#include "require-config.h" // INKSCAPE_DATADIR
+#ifndef INKSCAPE_DATADIR
+# error "INKSCAPE_DATADIR undefined. Must #include config.h before anything else."
+#endif
#include "prefix.h"
//#ifdef __cplusplus