Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / ttsnoop / tt_c++.h
index a4ae799b68b73f645b10103f6d915d106507b80e..a7af12ac0b46dd923b1a1317558f651077bc5c31 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -29,7 +29,7 @@
 #ifndef TT_CXX_H
 #define TT_CXX_H
 
-#if defined(linux) || defined(CSRG_BASED) || defined(sun)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
 #include <iostream>
 using namespace std;
 #else