aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/ntdll.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-05 21:58:49 +0000
committerChristopher Faylor <me@cgf.cx>2002-07-05 21:58:49 +0000
commit91a2f87b9d9be3aa4eadebb9d6761d0923d1f30f (patch)
tree4de0142298b4c3ee0c13ac57be328938b6043d91 /winsup/cygwin/ntdll.h
parentd5591d9df67a1425a8c05f22cbde430c4a93627f (diff)
downloadnewlib-91a2f87b9d9be3aa4eadebb9d6761d0923d1f30f.zip
newlib-91a2f87b9d9be3aa4eadebb9d6761d0923d1f30f.tar.gz
newlib-91a2f87b9d9be3aa4eadebb9d6761d0923d1f30f.tar.bz2
* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
(_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r--winsup/cygwin/ntdll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index f10d27d..00a0ac7 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -50,7 +50,7 @@ typedef struct _SYSTEM_BASIC_INFORMATION
UCHAR NumberProcessors;
} SYSTEM_BASIC_INFORMATION, *PSYSTEM_BASIC_INFORMATION;
-typedef struct _SYSTEM_PROCESSOR_TIMES
+typedef struct __attribute__ ((aligned (8))) _SYSTEM_PROCESSOR_TIMES
{
LARGE_INTEGER IdleTime;
LARGE_INTEGER KernelTime;
@@ -244,7 +244,7 @@ typedef struct _SYSTEM_PERFORMANCE_INFORMATION
ULONG SystemCalls;
} SYSTEM_PERFORMANCE_INFORMATION, *PSYSTEM_PERFORMANCE_INFORMATION;
-typedef struct _SYSTEM_TIME_OF_DAY_INFORMATION
+typedef struct __attribute__ ((aligned(8))) _SYSTEM_TIME_OF_DAY_INFORMATION
{
LARGE_INTEGER BootTime;
LARGE_INTEGER CurrentTime;