Browse code

Adding winapi

Steffen Neumann authored on 26/11/2021 22:31:46
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,24 @@
1
+/*
2
+ * Copyright 2017 Andrey Semashev
3
+ *
4
+ * Distributed under the Boost Software License, Version 1.0.
5
+ * See http://www.boost.org/LICENSE_1_0.txt
6
+ *
7
+ * This header is deprecated, use boost/winapi/time.hpp instead.
8
+ */
9
+
10
+#ifndef BOOST_DETAIL_WINAPI_TIME_HPP_
11
+#define BOOST_DETAIL_WINAPI_TIME_HPP_
12
+
13
+#include <boost/config/header_deprecated.hpp>
14
+
15
+BOOST_HEADER_DEPRECATED("<boost/winapi/time.hpp>")
16
+
17
+#include <boost/winapi/time.hpp>
18
+#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
+
20
+#ifdef BOOST_HAS_PRAGMA_ONCE
21
+#pragma once
22
+#endif
23
+
24
+#endif // BOOST_DETAIL_WINAPI_TIME_HPP_
Browse code

remove (hopefully) unused directories

Steffen Neumann authored on 23/09/2021 15:21:20
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,24 +0,0 @@
1
-/*
2
- * Copyright 2017 Andrey Semashev
3
- *
4
- * Distributed under the Boost Software License, Version 1.0.
5
- * See http://www.boost.org/LICENSE_1_0.txt
6
- *
7
- * This header is deprecated, use boost/winapi/time.hpp instead.
8
- */
9
-
10
-#ifndef BOOST_DETAIL_WINAPI_TIME_HPP_
11
-#define BOOST_DETAIL_WINAPI_TIME_HPP_
12
-
13
-#include <boost/config/header_deprecated.hpp>
14
-
15
-BOOST_HEADER_DEPRECATED("<boost/winapi/time.hpp>")
16
-
17
-#include <boost/winapi/time.hpp>
18
-#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
-
20
-#ifdef BOOST_HAS_PRAGMA_ONCE
21
-#pragma once
22
-#endif
23
-
24
-#endif // BOOST_DETAIL_WINAPI_TIME_HPP_
Browse code

Updating pwiz to 3_0_21263

Steffen Neumann authored on 23/09/2021 12:34:25
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,24 @@
1
+/*
2
+ * Copyright 2017 Andrey Semashev
3
+ *
4
+ * Distributed under the Boost Software License, Version 1.0.
5
+ * See http://www.boost.org/LICENSE_1_0.txt
6
+ *
7
+ * This header is deprecated, use boost/winapi/time.hpp instead.
8
+ */
9
+
10
+#ifndef BOOST_DETAIL_WINAPI_TIME_HPP_
11
+#define BOOST_DETAIL_WINAPI_TIME_HPP_
12
+
13
+#include <boost/config/header_deprecated.hpp>
14
+
15
+BOOST_HEADER_DEPRECATED("<boost/winapi/time.hpp>")
16
+
17
+#include <boost/winapi/time.hpp>
18
+#include <boost/detail/winapi/detail/deprecated_namespace.hpp>
19
+
20
+#ifdef BOOST_HAS_PRAGMA_ONCE
21
+#pragma once
22
+#endif
23
+
24
+#endif // BOOST_DETAIL_WINAPI_TIME_HPP_
Browse code

drop old boost

From: Steffen Neumann <sneumann@ipb-halle.de>

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125184 bc3139a8-67e5-0310-9ffc-ced21a209358

l.gatto authored on 15/12/2016 10:41:45
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,85 +0,0 @@
1
-//  time.hpp  --------------------------------------------------------------//
2
-
3
-//  Copyright 2010 Vicente J. Botet Escriba
4
-
5
-//  Distributed under the Boost Software License, Version 1.0.
6
-//  See http://www.boost.org/LICENSE_1_0.txt
7
-
8
-
9
-#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
10
-#define BOOST_DETAIL_WINAPI_TIME_HPP
11
-
12
-#include <boost/detail/winapi/basic_types.hpp>
13
-
14
-#ifdef BOOST_HAS_PRAGMA_ONCE
15
-#pragma once
16
-#endif
17
-
18
-namespace boost {
19
-namespace detail {
20
-namespace winapi {
21
-#if defined( BOOST_USE_WINDOWS_H )
22
-    typedef FILETIME FILETIME_;
23
-    typedef PFILETIME PFILETIME_;
24
-    typedef LPFILETIME LPFILETIME_;
25
-
26
-    typedef SYSTEMTIME SYSTEMTIME_;
27
-    typedef SYSTEMTIME* PSYSTEMTIME_;
28
-
29
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
30
-    using ::GetSystemTimeAsFileTime;
31
-    #endif
32
-    using ::FileTimeToLocalFileTime;
33
-    using ::GetSystemTime;
34
-    using ::SystemTimeToFileTime;
35
-    using ::GetTickCount;
36
-
37
-#else
38
-extern "C" {
39
-    typedef struct _FILETIME {
40
-        DWORD_ dwLowDateTime;
41
-        DWORD_ dwHighDateTime;
42
-    } FILETIME_, *PFILETIME_, *LPFILETIME_;
43
-
44
-    typedef struct _SYSTEMTIME {
45
-      WORD_ wYear;
46
-      WORD_ wMonth;
47
-      WORD_ wDayOfWeek;
48
-      WORD_ wDay;
49
-      WORD_ wHour;
50
-      WORD_ wMinute;
51
-      WORD_ wSecond;
52
-      WORD_ wMilliseconds;
53
-    } SYSTEMTIME_, *PSYSTEMTIME_;
54
-
55
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
56
-    __declspec(dllimport) void WINAPI
57
-        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
58
-    #endif
59
-    __declspec(dllimport) int WINAPI
60
-        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
61
-                FILETIME_* lpLocalFileTime);
62
-    __declspec(dllimport) void WINAPI
63
-        GetSystemTime(SYSTEMTIME_* lpSystemTime);
64
-    __declspec(dllimport) int WINAPI
65
-        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
66
-                FILETIME_* lpFileTime);
67
-    __declspec(dllimport) DWORD_ WINAPI
68
-        GetTickCount();
69
-}
70
-#endif
71
-
72
-#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
73
-inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
74
-{
75
-    SYSTEMTIME_ st;
76
-    GetSystemTime(&st);
77
-    SystemTimeToFileTime(&st, lpFileTime);
78
-}
79
-#endif
80
-
81
-}
82
-}
83
-}
84
-
85
-#endif // BOOST_DETAIL_WINAPI_TIME_HPP
Browse code

checkout latest pwiz, ammend Makevars

From: Laurent <lg390@cam.ac.uk>

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125180 bc3139a8-67e5-0310-9ffc-ced21a209358

l.gatto authored on 15/12/2016 10:21:41
Showing 1 changed files
... ...
@@ -1,105 +1,85 @@
1
-//  time.hpp  --------------------------------------------------------------//
2
-
3
-//  Copyright 2010 Vicente J. Botet Escriba
4
-//  Copyright (c) Microsoft Corporation 2014
5
-
6
-//  Distributed under the Boost Software License, Version 1.0.
7
-//  See http://www.boost.org/LICENSE_1_0.txt
8
-
9
-
10
-#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
11
-#define BOOST_DETAIL_WINAPI_TIME_HPP
12
-
13
-#include <boost/detail/winapi/basic_types.hpp>
14
-#include <boost/predef.h>
15
-
16
-#ifdef BOOST_HAS_PRAGMA_ONCE
17
-#pragma once
18
-#endif
19
-
20
-namespace boost {
21
-namespace detail {
22
-namespace winapi {
23
-
24
-#if defined( BOOST_USE_WINDOWS_H )
25
-
26
-    typedef FILETIME FILETIME_;
27
-    typedef PFILETIME PFILETIME_;
28
-    typedef LPFILETIME LPFILETIME_;
29
-
30
-    typedef SYSTEMTIME SYSTEMTIME_;
31
-    typedef SYSTEMTIME* PSYSTEMTIME_;
32
-
33
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
34
-    using ::GetSystemTimeAsFileTime;
35
-    #endif
36
-    #if BOOST_PLAT_WINDOWS_DESKTOP
37
-    using ::FileTimeToLocalFileTime;
38
-    #endif
39
-    using ::GetSystemTime;
40
-    using ::SystemTimeToFileTime;
41
-    
42
-    #if BOOST_PLAT_WINDOWS_DESKTOP
43
-    using ::GetTickCount;
44
-    #endif
45
-    #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
46
-    using ::GetTickCount64;
47
-    #endif
48
-
49
-#else
50
-
51
-extern "C" {
52
-    typedef struct _FILETIME {
53
-        DWORD_ dwLowDateTime;
54
-        DWORD_ dwHighDateTime;
55
-    } FILETIME_, *PFILETIME_, *LPFILETIME_;
56
-
57
-    typedef struct _SYSTEMTIME {
58
-      WORD_ wYear;
59
-      WORD_ wMonth;
60
-      WORD_ wDayOfWeek;
61
-      WORD_ wDay;
62
-      WORD_ wHour;
63
-      WORD_ wMinute;
64
-      WORD_ wSecond;
65
-      WORD_ wMilliseconds;
66
-    } SYSTEMTIME_, *PSYSTEMTIME_;
67
-
68
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
69
-    __declspec(dllimport) void WINAPI
70
-        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
71
-    #endif
72
-    __declspec(dllimport) int WINAPI
73
-        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
74
-                FILETIME_* lpLocalFileTime);
75
-    __declspec(dllimport) void WINAPI
76
-        GetSystemTime(SYSTEMTIME_* lpSystemTime);
77
-    __declspec(dllimport) int WINAPI
78
-        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
79
-                FILETIME_* lpFileTime);
80
-    #if BOOST_PLAT_WINDOWS_DESKTOP
81
-    __declspec(dllimport) DWORD_ WINAPI
82
-        GetTickCount();
83
-    #endif
84
-    #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
85
-    __declspec(dllimport) ULONGLONG_ WINAPI
86
-        GetTickCount64();
87
-    #endif
88
-}
89
-
90
-#endif
91
-
92
-#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
93
-inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
94
-{
95
-    SYSTEMTIME_ st;
96
-    GetSystemTime(&st);
97
-    SystemTimeToFileTime(&st, lpFileTime);
98
-}
99
-#endif
100
-
101
-}
102
-}
103
-}
104
-
105
-#endif // BOOST_DETAIL_WINAPI_TIME_HPP
1
+//  time.hpp  --------------------------------------------------------------//
2
+
3
+//  Copyright 2010 Vicente J. Botet Escriba
4
+
5
+//  Distributed under the Boost Software License, Version 1.0.
6
+//  See http://www.boost.org/LICENSE_1_0.txt
7
+
8
+
9
+#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
10
+#define BOOST_DETAIL_WINAPI_TIME_HPP
11
+
12
+#include <boost/detail/winapi/basic_types.hpp>
13
+
14
+#ifdef BOOST_HAS_PRAGMA_ONCE
15
+#pragma once
16
+#endif
17
+
18
+namespace boost {
19
+namespace detail {
20
+namespace winapi {
21
+#if defined( BOOST_USE_WINDOWS_H )
22
+    typedef FILETIME FILETIME_;
23
+    typedef PFILETIME PFILETIME_;
24
+    typedef LPFILETIME LPFILETIME_;
25
+
26
+    typedef SYSTEMTIME SYSTEMTIME_;
27
+    typedef SYSTEMTIME* PSYSTEMTIME_;
28
+
29
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
30
+    using ::GetSystemTimeAsFileTime;
31
+    #endif
32
+    using ::FileTimeToLocalFileTime;
33
+    using ::GetSystemTime;
34
+    using ::SystemTimeToFileTime;
35
+    using ::GetTickCount;
36
+
37
+#else
38
+extern "C" {
39
+    typedef struct _FILETIME {
40
+        DWORD_ dwLowDateTime;
41
+        DWORD_ dwHighDateTime;
42
+    } FILETIME_, *PFILETIME_, *LPFILETIME_;
43
+
44
+    typedef struct _SYSTEMTIME {
45
+      WORD_ wYear;
46
+      WORD_ wMonth;
47
+      WORD_ wDayOfWeek;
48
+      WORD_ wDay;
49
+      WORD_ wHour;
50
+      WORD_ wMinute;
51
+      WORD_ wSecond;
52
+      WORD_ wMilliseconds;
53
+    } SYSTEMTIME_, *PSYSTEMTIME_;
54
+
55
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
56
+    __declspec(dllimport) void WINAPI
57
+        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
58
+    #endif
59
+    __declspec(dllimport) int WINAPI
60
+        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
61
+                FILETIME_* lpLocalFileTime);
62
+    __declspec(dllimport) void WINAPI
63
+        GetSystemTime(SYSTEMTIME_* lpSystemTime);
64
+    __declspec(dllimport) int WINAPI
65
+        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
66
+                FILETIME_* lpFileTime);
67
+    __declspec(dllimport) DWORD_ WINAPI
68
+        GetTickCount();
69
+}
70
+#endif
71
+
72
+#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
73
+inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
74
+{
75
+    SYSTEMTIME_ st;
76
+    GetSystemTime(&st);
77
+    SystemTimeToFileTime(&st, lpFileTime);
78
+}
79
+#endif
80
+
81
+}
82
+}
83
+}
84
+
85
+#endif // BOOST_DETAIL_WINAPI_TIME_HPP
Browse code

Commit made by the Bioconductor Git-SVN bridge.

Commit id: 0b3d4d9bb71e3ca5891b777610fc8dec103a6d61

Bumped version after KK's updates


Commit id: 9e04409b64757a177893d56c0300904f31945cb1

modified: src/pwiz/data/common/BinaryIndexStream.cpp modified: src/win/i386/libpwiz.a modified: src/win/x64/libpwiz.a


Commit id: f16b04258dc20bf3315beac99708e11728cfc12b

update precompiled lib for windows


Commit id: 5d56197f1148378d92e89b2d0a167e18c4b7ab2e

Bump version, tame .Rbuildignore


Commit id: 432da5bd294c9b87f7761e15bc814c3785c21abf

Merge remote-tracking branch 'origin/boost_159'


Commit id: 92be978bf72d90c2222a19ddf365f6d1acc9f20d

upadte Makevars


Commit id: ae75037a780cead56c4d20bedf822c94fb413677

upgrade to boost 1.5.9



git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@110126 bc3139a8-67e5-0310-9ffc-ced21a209358

s.neumann authored on 01/11/2015 22:33:47
Showing 1 changed files
... ...
@@ -1,85 +1,105 @@
1
-//  time.hpp  --------------------------------------------------------------//
2
-
3
-//  Copyright 2010 Vicente J. Botet Escriba
4
-
5
-//  Distributed under the Boost Software License, Version 1.0.
6
-//  See http://www.boost.org/LICENSE_1_0.txt
7
-
8
-
9
-#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
10
-#define BOOST_DETAIL_WINAPI_TIME_HPP
11
-
12
-#include <boost/detail/winapi/basic_types.hpp>
13
-
14
-#ifdef BOOST_HAS_PRAGMA_ONCE
15
-#pragma once
16
-#endif
17
-
18
-namespace boost {
19
-namespace detail {
20
-namespace winapi {
21
-#if defined( BOOST_USE_WINDOWS_H )
22
-    typedef FILETIME FILETIME_;
23
-    typedef PFILETIME PFILETIME_;
24
-    typedef LPFILETIME LPFILETIME_;
25
-
26
-    typedef SYSTEMTIME SYSTEMTIME_;
27
-    typedef SYSTEMTIME* PSYSTEMTIME_;
28
-
29
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
30
-    using ::GetSystemTimeAsFileTime;
31
-    #endif
32
-    using ::FileTimeToLocalFileTime;
33
-    using ::GetSystemTime;
34
-    using ::SystemTimeToFileTime;
35
-    using ::GetTickCount;
36
-
37
-#else
38
-extern "C" {
39
-    typedef struct _FILETIME {
40
-        DWORD_ dwLowDateTime;
41
-        DWORD_ dwHighDateTime;
42
-    } FILETIME_, *PFILETIME_, *LPFILETIME_;
43
-
44
-    typedef struct _SYSTEMTIME {
45
-      WORD_ wYear;
46
-      WORD_ wMonth;
47
-      WORD_ wDayOfWeek;
48
-      WORD_ wDay;
49
-      WORD_ wHour;
50
-      WORD_ wMinute;
51
-      WORD_ wSecond;
52
-      WORD_ wMilliseconds;
53
-    } SYSTEMTIME_, *PSYSTEMTIME_;
54
-
55
-    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
56
-    __declspec(dllimport) void WINAPI
57
-        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
58
-    #endif
59
-    __declspec(dllimport) int WINAPI
60
-        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
61
-                FILETIME_* lpLocalFileTime);
62
-    __declspec(dllimport) void WINAPI
63
-        GetSystemTime(SYSTEMTIME_* lpSystemTime);
64
-    __declspec(dllimport) int WINAPI
65
-        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
66
-                FILETIME_* lpFileTime);
67
-    __declspec(dllimport) DWORD_ WINAPI
68
-        GetTickCount();
69
-}
70
-#endif
71
-
72
-#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
73
-inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
74
-{
75
-    SYSTEMTIME_ st;
76
-    GetSystemTime(&st);
77
-    SystemTimeToFileTime(&st, lpFileTime);
78
-}
79
-#endif
80
-
81
-}
82
-}
83
-}
84
-
85
-#endif // BOOST_DETAIL_WINAPI_TIME_HPP
1
+//  time.hpp  --------------------------------------------------------------//
2
+
3
+//  Copyright 2010 Vicente J. Botet Escriba
4
+//  Copyright (c) Microsoft Corporation 2014
5
+
6
+//  Distributed under the Boost Software License, Version 1.0.
7
+//  See http://www.boost.org/LICENSE_1_0.txt
8
+
9
+
10
+#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
11
+#define BOOST_DETAIL_WINAPI_TIME_HPP
12
+
13
+#include <boost/detail/winapi/basic_types.hpp>
14
+#include <boost/predef.h>
15
+
16
+#ifdef BOOST_HAS_PRAGMA_ONCE
17
+#pragma once
18
+#endif
19
+
20
+namespace boost {
21
+namespace detail {
22
+namespace winapi {
23
+
24
+#if defined( BOOST_USE_WINDOWS_H )
25
+
26
+    typedef FILETIME FILETIME_;
27
+    typedef PFILETIME PFILETIME_;
28
+    typedef LPFILETIME LPFILETIME_;
29
+
30
+    typedef SYSTEMTIME SYSTEMTIME_;
31
+    typedef SYSTEMTIME* PSYSTEMTIME_;
32
+
33
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
34
+    using ::GetSystemTimeAsFileTime;
35
+    #endif
36
+    #if BOOST_PLAT_WINDOWS_DESKTOP
37
+    using ::FileTimeToLocalFileTime;
38
+    #endif
39
+    using ::GetSystemTime;
40
+    using ::SystemTimeToFileTime;
41
+    
42
+    #if BOOST_PLAT_WINDOWS_DESKTOP
43
+    using ::GetTickCount;
44
+    #endif
45
+    #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
46
+    using ::GetTickCount64;
47
+    #endif
48
+
49
+#else
50
+
51
+extern "C" {
52
+    typedef struct _FILETIME {
53
+        DWORD_ dwLowDateTime;
54
+        DWORD_ dwHighDateTime;
55
+    } FILETIME_, *PFILETIME_, *LPFILETIME_;
56
+
57
+    typedef struct _SYSTEMTIME {
58
+      WORD_ wYear;
59
+      WORD_ wMonth;
60
+      WORD_ wDayOfWeek;
61
+      WORD_ wDay;
62
+      WORD_ wHour;
63
+      WORD_ wMinute;
64
+      WORD_ wSecond;
65
+      WORD_ wMilliseconds;
66
+    } SYSTEMTIME_, *PSYSTEMTIME_;
67
+
68
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
69
+    __declspec(dllimport) void WINAPI
70
+        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
71
+    #endif
72
+    __declspec(dllimport) int WINAPI
73
+        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
74
+                FILETIME_* lpLocalFileTime);
75
+    __declspec(dllimport) void WINAPI
76
+        GetSystemTime(SYSTEMTIME_* lpSystemTime);
77
+    __declspec(dllimport) int WINAPI
78
+        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
79
+                FILETIME_* lpFileTime);
80
+    #if BOOST_PLAT_WINDOWS_DESKTOP
81
+    __declspec(dllimport) DWORD_ WINAPI
82
+        GetTickCount();
83
+    #endif
84
+    #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
85
+    __declspec(dllimport) ULONGLONG_ WINAPI
86
+        GetTickCount64();
87
+    #endif
88
+}
89
+
90
+#endif
91
+
92
+#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
93
+inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
94
+{
95
+    SYSTEMTIME_ st;
96
+    GetSystemTime(&st);
97
+    SystemTimeToFileTime(&st, lpFileTime);
98
+}
99
+#endif
100
+
101
+}
102
+}
103
+}
104
+
105
+#endif // BOOST_DETAIL_WINAPI_TIME_HPP
Browse code

adding missing files

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@90759 bc3139a8-67e5-0310-9ffc-ced21a209358

l.gatto authored on 28/05/2014 00:29:07
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,85 @@
1
+//  time.hpp  --------------------------------------------------------------//
2
+
3
+//  Copyright 2010 Vicente J. Botet Escriba
4
+
5
+//  Distributed under the Boost Software License, Version 1.0.
6
+//  See http://www.boost.org/LICENSE_1_0.txt
7
+
8
+
9
+#ifndef BOOST_DETAIL_WINAPI_TIME_HPP
10
+#define BOOST_DETAIL_WINAPI_TIME_HPP
11
+
12
+#include <boost/detail/winapi/basic_types.hpp>
13
+
14
+#ifdef BOOST_HAS_PRAGMA_ONCE
15
+#pragma once
16
+#endif
17
+
18
+namespace boost {
19
+namespace detail {
20
+namespace winapi {
21
+#if defined( BOOST_USE_WINDOWS_H )
22
+    typedef FILETIME FILETIME_;
23
+    typedef PFILETIME PFILETIME_;
24
+    typedef LPFILETIME LPFILETIME_;
25
+
26
+    typedef SYSTEMTIME SYSTEMTIME_;
27
+    typedef SYSTEMTIME* PSYSTEMTIME_;
28
+
29
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
30
+    using ::GetSystemTimeAsFileTime;
31
+    #endif
32
+    using ::FileTimeToLocalFileTime;
33
+    using ::GetSystemTime;
34
+    using ::SystemTimeToFileTime;
35
+    using ::GetTickCount;
36
+
37
+#else
38
+extern "C" {
39
+    typedef struct _FILETIME {
40
+        DWORD_ dwLowDateTime;
41
+        DWORD_ dwHighDateTime;
42
+    } FILETIME_, *PFILETIME_, *LPFILETIME_;
43
+
44
+    typedef struct _SYSTEMTIME {
45
+      WORD_ wYear;
46
+      WORD_ wMonth;
47
+      WORD_ wDayOfWeek;
48
+      WORD_ wDay;
49
+      WORD_ wHour;
50
+      WORD_ wMinute;
51
+      WORD_ wSecond;
52
+      WORD_ wMilliseconds;
53
+    } SYSTEMTIME_, *PSYSTEMTIME_;
54
+
55
+    #ifdef BOOST_HAS_GETSYSTEMTIMEASFILETIME  // Windows CE does not define GetSystemTimeAsFileTime
56
+    __declspec(dllimport) void WINAPI
57
+        GetSystemTimeAsFileTime(FILETIME_* lpFileTime);
58
+    #endif
59
+    __declspec(dllimport) int WINAPI
60
+        FileTimeToLocalFileTime(const FILETIME_* lpFileTime,
61
+                FILETIME_* lpLocalFileTime);
62
+    __declspec(dllimport) void WINAPI
63
+        GetSystemTime(SYSTEMTIME_* lpSystemTime);
64
+    __declspec(dllimport) int WINAPI
65
+        SystemTimeToFileTime(const SYSTEMTIME_* lpSystemTime,
66
+                FILETIME_* lpFileTime);
67
+    __declspec(dllimport) DWORD_ WINAPI
68
+        GetTickCount();
69
+}
70
+#endif
71
+
72
+#ifndef BOOST_HAS_GETSYSTEMTIMEASFILETIME
73
+inline void WINAPI GetSystemTimeAsFileTime(FILETIME_* lpFileTime)
74
+{
75
+    SYSTEMTIME_ st;
76
+    GetSystemTime(&st);
77
+    SystemTimeToFileTime(&st, lpFileTime);
78
+}
79
+#endif
80
+
81
+}
82
+}
83
+}
84
+
85
+#endif // BOOST_DETAIL_WINAPI_TIME_HPP