<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_libusb/Xcode/config.h, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libusb/'/>
<entry>
<title>core: Remove use of gettimeofday()</title>
<updated>2017-01-12T23:03:16+00:00</updated>
<author>
<name>Chris Dickens</name>
<email>christopher.a.dickens@gmail.com</email>
</author>
<published>2017-01-12T19:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libusb/commit/?id=068b59430679dd8c0d5e3ca812729fa7e734a12f'/>
<id>068b59430679dd8c0d5e3ca812729fa7e734a12f</id>
<content type='text'>
Prior to this commit, gettimeofday() was being used for timestamps
in debug messages. This function has been marked as deprecated in
the latest POSIX specification and furthermore is not supported on
Windows, thus requiring our own implementation as usbi_gettimeofday().

This commit changes the logging code to obtain timestamps using the
clock_gettime() function provided by the backend. The implementation of
usbi_gettimeofday() for Windows was actually equivalent to that of the
USBI_CLOCK_REALTIME implementation for clock_gettime(), so this
eliminates code duplication. In addition, the USBI_CLOCK_REALTIME
implementation has been updated for Windows to leverage the
timespec_get() function available in VS 2015 and later.

Signed-off-by: Chris Dickens &lt;christopher.a.dickens@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this commit, gettimeofday() was being used for timestamps
in debug messages. This function has been marked as deprecated in
the latest POSIX specification and furthermore is not supported on
Windows, thus requiring our own implementation as usbi_gettimeofday().

This commit changes the logging code to obtain timestamps using the
clock_gettime() function provided by the backend. The implementation of
usbi_gettimeofday() for Windows was actually equivalent to that of the
USBI_CLOCK_REALTIME implementation for clock_gettime(), so this
eliminates code duplication. In addition, the USBI_CLOCK_REALTIME
implementation has been updated for Windows to leverage the
timespec_get() function available in VS 2015 and later.

Signed-off-by: Chris Dickens &lt;christopher.a.dickens@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add minimal config.h for Xcode</title>
<updated>2013-07-30T16:41:44+00:00</updated>
<author>
<name>Ludovic Rousseau</name>
<email>ludovic.rousseau@gmail.com</email>
</author>
<published>2012-10-26T07:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libusb/commit/?id=a0d7a89c33367ffda54894925815eeb4179ea446'/>
<id>a0d7a89c33367ffda54894925815eeb4179ea446</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
