summaryrefslogtreecommitdiff
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
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.
-rw-r--r--Xcode/config.h28
-rw-r--r--libusb/version_nano.h2
2 files changed, 29 insertions, 1 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
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 9778432..38f9743 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10788
+#define LIBUSB_NANO 10789