bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation on Solaris on Intel


From: Radu Greab
Subject: compilation on Solaris on Intel
Date: Tue, 13 Mar 2001 18:45:55 +0200 (EET)

The following patch is needed to compile CommonC++ 1.3.3 on Solaris 8 on 
Intel.


Thanks,
Radu Greab


diff -Naur CommonC++-1.3.3.orig/aclocal.m4 CommonC++-1.3.3/aclocal.m4
--- CommonC++-1.3.3.orig/aclocal.m4     Sat Mar 10 21:14:36 2001
+++ CommonC++-1.3.3/aclocal.m4  Tue Mar 13 18:15:03 2001
@@ -1725,7 +1725,7 @@
 dnl 
 dnl #ifdef HAVE_THREAD_H
 dnl #include "@thrprefix@/thread.h"
-dnl #if defined(i386) && defined(__svr4__)
+dnl #if defined(i386) && defined(__svr4__) && !defined(__sun)
 dnl #define _THR_UNIXWARE
 dnl #endif
 dnl #if defined(__SVR4) && defined(__sun)
diff -Naur CommonC++-1.3.3.orig/posix/config.h.in 
CommonC++-1.3.3/posix/config.h.in
--- CommonC++-1.3.3.orig/posix/config.h.in      Sat Mar 10 21:12:16 2001
+++ CommonC++-1.3.3/posix/config.h.in   Tue Mar 13 18:15:19 2001
@@ -366,7 +366,7 @@
 
 #ifdef HAVE_THREAD_H
 #include "@thrprefix@/thread.h"
-#if defined(i386) && defined(__svr4__)
+#if defined(i386) && defined(__svr4__) && !defined(__sun)
 #define _THR_UNIXWARE
 #endif
 #if defined(__SVR4) && defined(__sun)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]