summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2008-09-11 11:15:55 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2008-09-11 11:15:55 -0500
commitdced39d7951c16ca7bc83d7964b17ea203293990 (patch)
treee818c9623cd778b08e8459ab4a7e9c4a552f5fbf /src
parent47a084af0f93b571ad58c47c8c4b8439f06fa669 (diff)
downloadlibresample-dced39d7951c16ca7bc83d7964b17ea203293990.tar.gz
libresample-dced39d7951c16ca7bc83d7964b17ea203293990.tar.xz
libresample-dced39d7951c16ca7bc83d7964b17ea203293990.zip
Initial cmake support.
Diffstat (limited to 'src')
-rw-r--r--src/configtemplate.h2
-rw-r--r--src/resample_defs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/configtemplate.h b/src/configtemplate.h
index 94ae1ce..bc1cd71 100644
--- a/src/configtemplate.h
+++ b/src/configtemplate.h
@@ -3,5 +3,5 @@
use this file as a template to create config.h
*/
-#undef HAVE_INTTYPES_H
+#cmakedefine HAVE_INTTYPES_H
diff --git a/src/resample_defs.h b/src/resample_defs.h
index 576c1bc..ccaf3ee 100644
--- a/src/resample_defs.h
+++ b/src/resample_defs.h
@@ -52,7 +52,7 @@
#define SGN(x) ((x)<0 ?(-1):((x)==0?(0):(1)))
#endif
-#if HAVE_INTTYPES_H
+#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
typedef char BOOL;
typedef int32_t WORD;