~ubuntu-branches/ubuntu/raring/pthreads-win32/raring-proposed

« back to all changes in this revision

Viewing changes to implement.h

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2012-08-20 08:22:05 UTC
  • Revision ID: package-import@ubuntu.com-20120820082205-0qenriq46lhrlopg
Tags: 2.9.1+dfsg-1
Initial release (Closes: #685545).

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
#include <limits.h>
76
76
#endif
77
77
 
 
78
/* _tcsncat_s() et al: mapping to the correct TCHAR prototypes: */
 
79
#include <tchar.h>
 
80
 
78
81
/* use local include files during development */
79
82
#include "semaphore.h"
80
83
#include "sched.h"
94
97
#define PTW32_INTERLOCKED_VOLATILE volatile
95
98
#endif
96
99
#define PTW32_INTERLOCKED_LONG long
97
 
#define PTW32_INTERLOCKED_SIZE size_t
 
100
#if defined(_M_IA64)
 
101
#define PTW32_INTERLOCKED_SIZE LONG64
 
102
#elif defined(_M_AMD64)
 
103
#define PTW32_INTERLOCKED_SIZE LONG64
 
104
#else
 
105
#define PTW32_INTERLOCKED_SIZE LONG
 
106
#endif
98
107
#define PTW32_INTERLOCKED_PVOID PVOID
99
108
#define PTW32_INTERLOCKED_LONGPTR PTW32_INTERLOCKED_VOLATILE long*
100
 
#define PTW32_INTERLOCKED_SIZEPTR PTW32_INTERLOCKED_VOLATILE size_t*
 
109
#if defined(_M_IA64)
 
110
#define PTW32_INTERLOCKED_SIZEPTR PTW32_INTERLOCKED_VOLATILE LONG64*
 
111
#elif defined(_M_AMD64)
 
112
#define PTW32_INTERLOCKED_SIZEPTR PTW32_INTERLOCKED_VOLATILE LONG64*
 
113
#else
 
114
#define PTW32_INTERLOCKED_SIZEPTR PTW32_INTERLOCKED_VOLATILE LONG*
 
115
#endif
101
116
#define PTW32_INTERLOCKED_PVOID_PTR PTW32_INTERLOCKED_VOLATILE PVOID*
102
117
 
103
118
#if defined(__MINGW64__) || defined(__MINGW32__)