+2016-09-17 Keith Marshall <keithmarshall@users.sourceforge.net>
+
+ Fix a minor ISO-C++11 conformity issue.
+
+ * include/winnt.h (GetCurrentFiber): Insert spaces, as required
+ by ISO-C++11, between concatenated string literal elements.
+ (GetFiberData, NtCurrentTeb): Likewise.
+
2016-08-01 Keith Marshall <keithmarshall@users.sourceforge.net>
Merge w32api-3.18.1 legacy updates to 5.0-active branch.
{
void *ret;
__asm__ __volatile__ (
- "mov{%z0}\t{%%"__tib_fiber_data__", %0|%0, "__tib_fiber_data__"}"
+ "mov{%z0}\t{%%" __tib_fiber_data__ ", %0|%0," __tib_fiber_data__ "}"
: "=a" (ret) /* resultant pointer will be returned in eax/rax */
);
return ret;
{
void *ret;
__asm__ __volatile__ (
- "mov{%z0}\t{%%"__tib_fiber_data__", %0|%0, "__tib_fiber_data__"}\n\t"
+ "mov{%z0}\t{%%" __tib_fiber_data__ ", %0|%0, " __tib_fiber_data__ "}\n\t"
"mov{%z0}\t{(%0), %0|%0, [%0]}"
: "=r" (ret) /* likely eax/rax, but must support indexing */
);
{
struct _TEB *ret;
__asm__ __volatile__ (
- "mov{%z0}\t{%%"__tib_self_refptr__", %0|%0, "__tib_self_refptr__"}"
+ "mov{%z0}\t{%%" __tib_self_refptr__ ", %0|%0, " __tib_self_refptr__ "}"
: "=a" (ret) /* resultant pointer will be returned in eax/rax */
: /* no inputs */
);
{
void *ret;
__asm__ __volatile__ (
- "mov%z0\t%%"__tib_fiber_data__", %0"
+ "mov%z0\t%%" __tib_fiber_data__ ", %0"
: "=a" (ret) /* resultant pointer will be returned in eax/rax */
);
return ret;
{
void *ret;
__asm__ __volatile__ (
- "mov%z0\t%%"__tib_fiber_data__", %0\n\t"
+ "mov%z0\t%%" __tib_fiber_data__ ", %0\n\t"
"mov%z0\t(%0), %0"
: "=r" (ret) /* likely eax/rax, but must support indexing */
);
{
struct _TEB *ret;
__asm__ __volatile__ (
- "mov%z0\t%%"__tib_self_refptr__", %0"
+ "mov%z0\t%%" __tib_self_refptr__ ", %0"
: "=a" (ret) /* resultant pointer will be returned in eax/rax */
: /* no inputs */
);