From a0d7a89c33367ffda54894925815eeb4179ea446 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 26 Oct 2012 09:32:54 +0200 Subject: [PATCH] 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. --- Xcode/config.h | 28 ++++++++++++++++++++++++++++ libusb/version_nano.h | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Xcode/config.h 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 header file. */ +#define HAVE_POLL_H 1 + +/* Define to 1 if you have the 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 -- 2.7.4