aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libsdl/SDL_config_premake.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-20 10:17:47 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-20 14:57:49 +0000
commit43c2526665fb0c5a2f8c5793b9326ebf4ef3daca (patch)
tree437f3c48766ea4ee700593a759784ad559e58ae6 /third_party/libsdl/SDL_config_premake.h
parent580046bc1a09f362f7677824244ece697472fd66 (diff)
Viewer on Mac.
- Support ObjC / ObjC++ - Build SDL on Mac. - Build viewer on Mac. Patched from Jim's CL. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3760 Change-Id: I12663f2ed2969e22f51aefed560fbc22b2524167 Reviewed-on: https://skia-review.googlesource.com/3760 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'third_party/libsdl/SDL_config_premake.h')
-rw-r--r--third_party/libsdl/SDL_config_premake.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/libsdl/SDL_config_premake.h b/third_party/libsdl/SDL_config_premake.h
new file mode 100644
index 0000000000..28c4bc691a
--- /dev/null
+++ b/third_party/libsdl/SDL_config_premake.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/*
+ * We don't want any of SDL's prebaked SDL_config.h files.
+ * Instead we set all the defines we need in GN (third_party/libsdl/BUILD.gn).
+ * This header is just the barest basics of an SDL_config.h we can get away with.
+ */
+
+#include <stdarg.h>
+#include <stddef.h>
+#include <stdint.h>