]> andersk Git - libfaim.git/blobdiff - faim/faimconfig.h
- Preserve subtype and priv after aim_conn_close
[libfaim.git] / faim / faimconfig.h
index 0184f77b224f53af1164bbe73f4532e070a8bef5..a43ef446473d7713b6ecef51a4cafa2b5a2e3278 100644 (file)
  */
 #define AIMUTIL_USEMACROS
 
+/*
+ * Select whether or not to use POSIX thread functionality.
+ * 
+ * We don't actually use threads, but we do use the POSIX mutex
+ * in order to maintain thread safety.  You can use the fake locking
+ * if you really don't like pthreads or you don't have it.
+ *
+ * Default: defined on Linux, otherwise use fake locks.
+ */
+#ifdef __linux__
+#define FAIM_USEPTHREADS
+#else
+#define FAIM_USEFAKELOCKS
+#endif
+
 #endif /* __FAIMCONFIG_H__ */
+
+
This page took 0.029747 seconds and 4 git commands to generate.