blob: 44a13581e42a0b1acfae836205698069b8a80e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- GraphicsMagick-1.3.20/magick/studio.h
+++ GraphicsMagick-1.3.20/magick/studio.h
@@ -51,12 +51,11 @@
threads. Most CPUs have cache lines of 32 or 64 bytes. IBM Power CPUs have
cache lines of 128 bytes.
*/
-/* FIXME: C pre-processor does not support comparing strings. */
-/* #if defined(MAGICK_TARGET_CPU) && (MAGICK_TARGET_CPU == powerpc) */
-/* # define MAGICK_CACHE_LINE_SIZE 128 */
-/* #else */
-# define MAGICK_CACHE_LINE_SIZE 64
-/* #endif */
+#ifdef __powerpc__
+#define MAGICK_CACHE_LINE_SIZE 128
+#else
+#define MAGICK_CACHE_LINE_SIZE 64
+#endif
/*
|