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

Unified Diff: gpu/gles2_conform_support/native/main.cc

Issue 6976055: More POSIX support for Chromium, consisting mostly of broadening ifdefs. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_support.gyp ('k') | ipc/sync_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/native/main.cc
diff --git a/gpu/gles2_conform_support/native/main.cc b/gpu/gles2_conform_support/native/main.cc
index 032318cf53c5b6d936eb20adca46204b1668f0f2..fd3dc7554f2a4c345a15a2e8af4f787a4ec976a1 100644
--- a/gpu/gles2_conform_support/native/main.cc
+++ b/gpu/gles2_conform_support/native/main.cc
@@ -5,9 +5,9 @@
#include "base/at_exit.h"
#include "base/message_loop.h"
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
#include <gtk/gtk.h>
-#endif // OS_LINUX
+#endif
extern "C" {
#if defined(GLES2_CONFORM_SUPPORT_ONLY)
@@ -18,9 +18,9 @@ extern "C" {
}
int main(int argc, char *argv[]) {
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
gtk_init(&argc, &argv);
-#endif // OS_LINUX
+#endif
base::AtExitManager at_exit;
MessageLoopForUI message_loop;
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_support.gyp ('k') | ipc/sync_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698