~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/glthread/tls.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Thread-local storage in multithreaded situations.
2
 
   Copyright (C) 2005, 2007-2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
220
220
 
221
221
/* ========================================================================= */
222
222
 
223
 
#if USE_WIN32_THREADS
 
223
#if USE_WINDOWS_THREADS
224
224
 
 
225
# define WIN32_LEAN_AND_MEAN  /* avoid including junk */
225
226
# include <windows.h>
226
227
 
227
228
/* ------------------------- gl_tls_key_t datatype ------------------------- */
241
242
 
242
243
/* ========================================================================= */
243
244
 
244
 
#if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS || USE_WIN32_THREADS)
 
245
#if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS || USE_WINDOWS_THREADS)
245
246
 
246
247
/* Provide dummy implementation if threads are not supported.  */
247
248