summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorrpj <rpj>2001-07-06 18:16:50 +0000
committerrpj <rpj>2001-07-06 18:16:50 +0000
commit06974b302eaf8f08382e6e786aea53f420c12222 (patch)
tree1b574a41dacc634a105a74127b2dac30a60bda13 /config.h
parent7a3104dc65b469cbb9c88b6a9c7b7bea4126a43e (diff)
Spinlocks and barriers fixed and working. Beta level.
* spin.c: Revamped and working; included static initialiser. * barrier.c: Likewise. * condvar.c: Macro constant change; inline auto init routine. * mutex.c: Likewise. * rwlock.c: Likewise. * private.c: Add support for spinlock initialiser. * global.c: Likewise. * implement.h: Likewise. * pthread.h (PTHREAD_SPINLOCK_INITIALIZER): Fix typo. tests/ChangeLog: * spin3.c: Changed test and fixed. * spin4.c: Fixed. * barrier3.c: Fixed. * barrier4.c: Fixed.
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.h b/config.h
index 75e0338..da1cee4 100644
--- a/config.h
+++ b/config.h
@@ -1,4 +1,4 @@
-/* config.h.in. Generated automatically from configure.in by autoheader. */
+/* config.h.in Generated automatically from configure.in by autoheader. */
#ifndef PTW32_CONFIG_H
#define PTW32_CONFIG_H
@@ -30,6 +30,9 @@
/* Define if you need to convert string parameters to unicode. (eg. WinCE) */
#undef NEED_UNICODE_CONSTS
+/* Define if your C (not C++) compiler supports "inline" functions. */
+#undef HAVE_C_INLINE
+
/* Do we know about type mode_t? */
#undef HAVE_MODE_T
@@ -54,6 +57,10 @@
#define HAVE_STRUCT_TIMESPEC
#endif
+#ifdef __GNUC__
+#define HAVE_C_INLINE
+#endif
+
#ifdef __MINGW32__
#define HAVE_MODE_T
#endif