|
From: Carlo W. <li...@us...> - 2002-02-18 00:46:25
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-01-18 00:46:24 UTC
Modified files:
libcwd/acconfig.h
Log message:
Perfectionism.
---------------------- diff included ----------------------
Index: src/libcwd/acconfig.h
diff -u src/libcwd/acconfig.h:1.13 src/libcwd/acconfig.h:1.14
--- src/libcwd/acconfig.h:1.13 Sun Feb 17 08:37:32 2002
+++ src/libcwd/acconfig.h Sun Feb 17 16:46:14 2002
@@ -22,7 +22,7 @@
// Defined when both -lpthread and pthread.h could be found.
#undef LIBCWD_HAVE_PTHREAD
-#if __GNUC__ < 3
+#ifndef _GNU_SOURCE // Might already be defined: g++ 3.x is currently defining this as a hack to get libstdc++ headers work properly.
// This is needed when using threading, for example to get `pthread_kill_other_threads_np'.
#undef _GNU_SOURCE
#endif
----------------------- End of diff -----------------------
|