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

Unified Diff: third_party/sqlite/sqlite3.h

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code Created 6 years, 1 month 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: third_party/sqlite/sqlite3.h
diff --git a/third_party/sqlite/sqlite3.h b/third_party/sqlite/sqlite3.h
new file mode 100644
index 0000000000000000000000000000000000000000..27094db29182c74c90af1675e700fc22360e905a
--- /dev/null
+++ b/third_party/sqlite/sqlite3.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef THIRD_PARTY_SQLITE_SQLITE3_H_
+#define THIRD_PARTY_SQLITE_SQLITE3_H_
+#pragma once
+
+// This is a shim header to include the right sqlite3 header.
+// Use this instead of referencing the sqlite3 header directly.
+
+#if defined(USE_SYSTEM_SQLITE)
+#include <sqlite3.h>
+#else
+#include "third_party/sqlite/amalgamation/sqlite3.h"
+#endif
+
+#endif // THIRD_PARTY_SQLITE_SQLITE3_H_

Powered by Google App Engine
This is Rietveld 408576698