summaryrefslogtreecommitdiff
path: root/Xcode
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@gmail.com>2012-10-26 09:32:54 +0200
committerhjelmn <Nathan Hjelm hjelmn@cs.unm.edu>2013-07-30 10:41:44 -0600
commita0d7a89c33367ffda54894925815eeb4179ea446 (patch)
tree7b2dbdb87dc25a9350eb647bff835fb303f27fba /Xcode
parentb11f8e08e01cf52dafd9bdf74476310bac77e0ac (diff)
downloadlibusb-a0d7a89c33367ffda54894925815eeb4179ea446.tar.gz
Add minimal config.h for Xcode
Xcode do not use ./configure so the config.h file needs to be generated by hand. This config.h is the minimal file for libusbx built using Xcode.
Diffstat (limited to 'Xcode')
-rw-r--r--Xcode/config.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/Xcode/config.h b/Xcode/config.h
new file mode 100644
index 0000000..492d43a
--- /dev/null
+++ b/Xcode/config.h
@@ -0,0 +1,28 @@
+/* config.h. Manually generated for Xcode. */
+
+/* Default visibility */
+#define DEFAULT_VISIBILITY /**/
+
+/* Message logging */
+#define ENABLE_LOGGING 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the <poll.h> header file. */
+#define HAVE_POLL_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Darwin backend */
+#define OS_DARWIN 1
+
+/* type of second poll() argument */
+#define POLL_NFDS_TYPE nfds_t
+
+/* Use POSIX Threads */
+#define THREADS_POSIX 1
+
+/* Use GNU extensions */
+#define _GNU_SOURCE 1