Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: compat/non_win/minwinbase.h

Issue 432843002: Add compat to Crashpad (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Comment on the UTF-16 byte ordering in MINIDUMP_STRING Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compat/non_win/dbghelp.h ('k') | compat/non_win/timezoneapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/non_win/minwinbase.h
diff --git a/compat/non_win/minwinbase.h b/compat/non_win/minwinbase.h
new file mode 100644
index 0000000000000000000000000000000000000000..2761b1cccd2f94f9ab22214bcfd25f40c6f7c2b2
--- /dev/null
+++ b/compat/non_win/minwinbase.h
@@ -0,0 +1,49 @@
+// Copyright 2014 The Crashpad Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_
+#define CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_
+
+#include <stdint.h>
+
+//! \brief Represents a date and time.
+struct SYSTEMTIME {
+ //! \brief The year, represented fully.
+ //!
+ //! The year 2014 would be represented in this field as `2014`.
+ uint16_t wYear;
+
+ //! \brief The month of the year, `1` for January and `12` for December.
+ uint16_t wMonth;
+
+ //! \brief The day of the week, `0` for Sunday and `6` for Saturday.
+ uint16_t wDayOfWeek;
+
+ //! \brief The day of the month, `1` through `31`.
+ uint16_t wDay;
+
+ //! \brief The hour of the day, `0` through `23`.
+ uint16_t wHour;
+
+ //! \brief The minute of the hour, `0` through `59`.
+ uint16_t wMinute;
+
+ //! \brief The second of the minute, `0` through `60`.
+ uint16_t wSecond;
+
+ //! \brief The millisecond of the second, `0` through `999`.
+ uint16_t wMilliseconds;
+};
+
+#endif // CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_
« no previous file with comments | « compat/non_win/dbghelp.h ('k') | compat/non_win/timezoneapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698