aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2013-05-03 21:02:27 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2013-05-03 21:05:55 +0900
commit5d8f781467ca79e98e844e0c164b56cc725b30c6 (patch)
tree86a2b3617ab981916b9b573a3877eb6f77ad1079
parent03adafbfd9e9c157fc71a024abd1f3f2fa667f1c (diff)
Fixed mismatched macro names
-rw-r--r--ConfigureChecks.cmake22
-rw-r--r--config.h.cmake4
2 files changed, 13 insertions, 13 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 025c9d80..440a4414 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -49,9 +49,9 @@ check_cxx_source_compiles("
x.fetch_sub(1);
return 0;
}
-" TAGLIB_HAVE_STD_ATOMIC)
+" HAVE_STD_ATOMIC)
-if(NOT TAGLIB_HAVE_STD_ATOMIC)
+if(NOT HAVE_STD_ATOMIC)
check_cxx_source_compiles("
#include <boost/atomic.hpp>
int main() {
@@ -60,9 +60,9 @@ if(NOT TAGLIB_HAVE_STD_ATOMIC)
x.fetch_sub(1);
return 0;
}
- " TAGLIB_HAVE_BOOST_ATOMIC)
+ " HAVE_BOOST_ATOMIC)
- if(NOT TAGLIB_HAVE_BOOST_ATOMIC)
+ if(NOT HAVE_BOOST_ATOMIC)
check_cxx_source_compiles("
int main() {
volatile int x;
@@ -70,9 +70,9 @@ if(NOT TAGLIB_HAVE_STD_ATOMIC)
int y = __sync_sub_and_fetch(&x, 1);
return 0;
}
- " TAGLIB_HAVE_GCC_ATOMIC)
+ " HAVE_GCC_ATOMIC)
- if(NOT TAGLIB_HAVE_GCC_ATOMIC)
+ if(NOT HAVE_GCC_ATOMIC)
check_cxx_source_compiles("
#include <libkern/OSAtomic.h>
int main() {
@@ -81,9 +81,9 @@ if(NOT TAGLIB_HAVE_STD_ATOMIC)
int32_t y = OSAtomicDecrement32Barrier(&x);
return 0;
}
- " TAGLIB_HAVE_MAC_ATOMIC)
+ " HAVE_MAC_ATOMIC)
- if(NOT TAGLIB_HAVE_MAC_ATOMIC)
+ if(NOT HAVE_MAC_ATOMIC)
check_cxx_source_compiles("
#include <windows.h>
int main() {
@@ -92,9 +92,9 @@ if(NOT TAGLIB_HAVE_STD_ATOMIC)
LONG y = InterlockedDecrement(&x);
return 0;
}
- " TAGLIB_HAVE_WIN_ATOMIC)
+ " HAVE_WIN_ATOMIC)
- if(NOT TAGLIB_HAVE_WIN_ATOMIC)
+ if(NOT HAVE_WIN_ATOMIC)
check_cxx_source_compiles("
#include <ia64intrin.h>
int main() {
@@ -103,7 +103,7 @@ if(NOT TAGLIB_HAVE_STD_ATOMIC)
int y = __sync_sub_and_fetch(&x, 1);
return 0;
}
- " TAGLIB_HAVE_IA64_ATOMIC)
+ " HAVE_IA64_ATOMIC)
endif()
endif()
endif()
diff --git a/config.h.cmake b/config.h.cmake
index 0a5c7015..436ca440 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,7 +1,7 @@
/* config.h. Generated by cmake from config.h.cmake */
-/* Indicates the endianness of your target system */
-/* 1 if little-endian, 2 if big-endiann. */
+/* Indicates the byte order of your target system */
+/* 1 if little-endian, 2 if big-endian. */
#cmakedefine SYSTEM_BYTEORDER ${SYSTEM_BYTEORDER}
/* Defined if your compiler supports some byte swap functions */