OSDN Git Service

first
[psychlops/cpp.git] / psychlops / platform / win32 / psychlops_io_clock_Win32.h
1 /*
2  *  psychlops_io_clock_Win32.h
3  *  Psychlops Standard Library (Win32)
4  *
5  *  Last Modified 2005/12/21 by Kenchi HOSOKAWA
6  *  (C) 2005 Kenchi HOSOKAWA, Kazushi MARUYA, Takao SATO
7  */
8
9 #ifndef HEADER_PSYCHLOPS_DEVICES_CLOCK_WIN32
10 #define HEADER_PSYCHLOPS_DEVICES_CLOCK_WIN32
11
12 /*
13 #include <stdlib.h>
14 #include <Math.h>
15 #include <time.h>
16 #include <iostream>
17
18 #include <windows.h>
19 */
20
21 namespace Psychlops {
22
23 //      typedef LARGE_INTEGER CLOCK_UNIT;
24         union CLOCK_UNIT {
25                 struct {
26                         unsigned long LowPart;
27                         unsigned long HighPart;
28                 };
29 #ifdef __BORLANDC__
30                 __int64 QuadPart;
31 #else
32                 long long QuadPart;
33 #endif
34         };
35
36 }       /*      <- namespace Psycholops         */
37
38
39 #endif