summaryrefslogtreecommitdiff
path: root/third_party/build/resample/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/build/resample/config.h')
-rw-r--r--third_party/build/resample/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/build/resample/config.h b/third_party/build/resample/config.h
new file mode 100644
index 00000000..bf4cda6a
--- /dev/null
+++ b/third_party/build/resample/config.h
@@ -0,0 +1,18 @@
+/* This file is included by endian.h */
+
+#include <pj/types.h>
+#undef INLINE
+#define INLINE __inline
+
+
+#ifndef WITH_PJ
+# error This needs to be declared!
+#endif
+
+#ifdef _MSC_VER
+# pragma warning(disable: 4244) // conversion from 'double ' to 'unsigned int ', possible loss of data
+# pragma warning(disable: 4761) // integral size mismatch in argument; conversion supplied
+#endif
+
+#define STATIC
+