blob: c69a3cee463c97fdbb8e76bc50685f40c7a99248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- src/Makefile 2007-01-26 03:20:06.000000000 -0600
+++ src/Makefile 2007-02-06 20:37:41.000000000 -0600
@@ -39,9 +39,6 @@
LIBS3=-lstdc++ ./libespeak.so
CXXFLAGS=-O2
-ifeq ($(shell uname -m), ppc)
- CXXFLAGS += -D ARCH_BIG
-endif
all: $(BIN_NAME) $(LIB_NAME) $(BIN2_NAME)
--- src/speech.h 2007-01-26 03:11:59.000000000 -0600
+++ src/speech.h 2007-02-06 20:41:11.000000000 -0600
@@ -18,9 +18,15 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+#include <sys/types.h>
+
// conditional compilation options
+#if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN
+#define ARCH_BIG
+#endif
+
#define PLATFORM_POSIX
#define PATHSEP '/'
#define USE_PORTAUDIO
|