summaryrefslogtreecommitdiff
path: root/cpl-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpl-config.h')
-rw-r--r--cpl-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpl-config.h b/cpl-config.h
new file mode 100644
index 0000000..456693f
--- /dev/null
+++ b/cpl-config.h
@@ -0,0 +1,11 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "gdal/cpl_config-32.h"
+#else
+#if __WORDSIZE == 64
+#include "gdal/cpl_config-64.h"
+#else
+#error "Unknown word size"
+#endif
+#endif