From: Ludovic Rousseau Date: Fri, 26 Oct 2012 07:32:54 +0000 (+0200) Subject: Add minimal config.h for Xcode X-Git-Tag: upstream/1.0.21~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0d7a89c33367ffda54894925815eeb4179ea446;p=platform%2Fupstream%2Flibusb.git 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. --- 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