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

Unified Diff: compat/win/getopt.h

Issue 1119783005: win: get tools/crashpad_database_util mostly working (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: roll Created 5 years, 7 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
Index: compat/win/getopt.h
diff --git a/compat/win/sys/time.h b/compat/win/getopt.h
similarity index 78%
copy from compat/win/sys/time.h
copy to compat/win/getopt.h
index 46bdef2a3810669fcf310d9d8a29a29980c3c894..8df131216bc291558dd2ee8f1c9cfa9be0aafcf7 100644
--- a/compat/win/sys/time.h
+++ b/compat/win/getopt.h
@@ -12,12 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef CRASHPAD_COMPAT_WIN_SYS_TIME_H_
-#define CRASHPAD_COMPAT_WIN_SYS_TIME_H_
+#ifndef CRASHPAD_COMPAT_WIN_GETOPT_H_
+#define CRASHPAD_COMPAT_WIN_GETOPT_H_
-struct timeval {
- long tv_sec;
- long tv_usec;
-};
+#include "../../third_party/getopt/getopt.h"
Mark Mentovai 2015/05/05 22:19:49 I don’t think the ../.. should be necessary.
scottmg 2015/05/05 23:03:37 Done.
-#endif // CRASHPAD_COMPAT_WIN_SYS_TIME_H_
+#endif // CRASHPAD_COMPAT_WIN_GETOPT_H_

Powered by Google App Engine
This is Rietveld 408576698