From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Thu, 4 Aug 2005 01:06:07 +0000 (+0000)
Subject: added HAVE_FSYNC and wxHAVE_PTHREAD_CLEANUP (replacing HAVE_THREAD_CLEANUP_FUNCTIONS)
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9894cc01c98b0d6fa960d57e9a6155bbb07ed67b

added HAVE_FSYNC and wxHAVE_PTHREAD_CLEANUP (replacing HAVE_THREAD_CLEANUP_FUNCTIONS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/setup.h.in b/setup.h.in
index 3a4ad72b98..a8fd75a244 100644
--- a/setup.h.in
+++ b/setup.h.in
@@ -601,6 +601,10 @@
  * Use libXpm
  */
 #define wxHAVE_LIB_XPM 0
+/*
+ * Define if you have pthread_cleanup_push/pop()
+ */
+#undef wxHAVE_PTHREAD_CLEANUP
 /*
  * Use consistent PostScript fonts for AFM and printing (!)
  */
@@ -716,6 +720,9 @@
 /* Define if you have gettimeofday() */
 #undef HAVE_GETTIMEOFDAY
 
+/* Define if fsync() is available */
+#undef HAVE_FSYNC
+
 /* Define if you have ftime() */
 #undef HAVE_FTIME
 
@@ -761,9 +768,6 @@
 /* Define if you have all functions to set thread priority */
 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
 
-/* Define if you can specify exit functions to a thread */
-#undef HAVE_THREAD_CLEANUP_FUNCTIONS
-
 /* Define if you have timegm() function */
 #undef HAVE_TIMEGM