Merge remote-tracking branch 'jeremyhu/master'
This commit is contained in:
commit
90642948cc
|
@ -20,6 +20,10 @@
|
||||||
* DEALINGS IN THE SOFTWARE.
|
* DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_DIX_CONFIG_H
|
||||||
|
#include <dix-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -28,7 +28,7 @@ AC_DEFUN([XORG_TLS], [
|
||||||
ac_cv_tls=none
|
ac_cv_tls=none
|
||||||
keywords="__thread __declspec(thread)"
|
keywords="__thread __declspec(thread)"
|
||||||
for kw in $keywords ; do
|
for kw in $keywords ; do
|
||||||
AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw)
|
AC_TRY_COMPILE([int $kw test;], [], ac_cv_tls=$kw ; break ;)
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($ac_cv_tls)
|
AC_MSG_RESULT($ac_cv_tls)
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_DIX_CONFIG_H
|
||||||
|
#include <dix-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Reference in New Issue