Przeglądaj źródła

lib/srdb1: fix compiler warning

> CC (gcc) [L libsrdb1.so.1.0]            db_ut.o
> db_ut.c:57:32: warning: extra tokens at end of #undef directive
>   #undef _XOPEN_SOURCE_EXTENDED 1  /* solaris */
>                                 ^
Mikko Lehto 9 lat temu
rodzic
commit
dee2478e52
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      lib/srdb1/db_ut.c

+ 2 - 2
lib/srdb1/db_ut.c

@@ -53,8 +53,8 @@
 #ifndef __OS_solaris
 	#undef _XOPEN_SOURCE
 	#undef _XOPEN_SOURCE_EXTENDED
-#else
-	#undef _XOPEN_SOURCE_EXTENDED 1   /* solaris */
+#else  /* solaris */
+	#undef _XOPEN_SOURCE_EXTENDED
 #endif
 
 #include <limits.h>