updates.
authorPekka Riikonen <priikone@silcnet.org>
Fri, 1 Nov 2002 16:43:25 +0000 (16:43 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 1 Nov 2002 16:43:25 +0000 (16:43 +0000)
includes/silcincludes.h
lib/silcutil/silclog.h

index d202061e00c9f3a8d775f03b42e3e6d83e688c11..ee0dfcfb670efb7d1438ee89ba9a2a37d12e433e 100644 (file)
@@ -102,26 +102,18 @@ extern "C" {
 
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
-#else
-#error signal.h not found in the system
 #endif
 
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
-#else
-#error fcntl.h not found in the system
 #endif
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
-#else
-#error errno.h not found in the system
 #endif
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
-#else
-#error assert.h not found in the system
 #endif
 
 #if !defined(SILC_WIN32)
@@ -143,8 +135,6 @@ extern "C" {
 #include <sys/socket.h>
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
-#else
-#error netinet/in.h not found in the system
 #endif
 
 #ifdef HAVE_XTI_H
@@ -152,21 +142,15 @@ extern "C" {
 #else
 #ifdef HAVE_NETINET_TCP_H
 #include <netinet/tcp.h>
-#else
-#error xti.h nor even netinet/tcp.h found in the system
 #endif
 #endif
 
 #ifdef HAVE_NETDB_H
 #include <netdb.h>
-#else
-#error netdb.h not found in the system
 #endif
 
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
-#else
-#error arpa/inet.h not found in the system
 #endif
 
 #ifdef HAVE_SYS_MMAN_H
index a78fe1ee0111c2d739c6d72240a294e11fe16dc8..60b2f637432af626e5022b72278b9a2be57eac3f 100644 (file)
@@ -266,7 +266,7 @@ extern DLLAPI bool silc_debug_hexdump;
 #define SILC_ENABLE_DEBUG      \
   #ifndef SILC_DEBUG           \
   #define SILC_DEBUG 1         \
-  #endif SILC_DEBUG
+  #endif
 /***/
 
 /****d* silcutil/SilcLogAPI/SILC_LOG_INFO