diff options
Diffstat (limited to 'gpu/demos/framework')
-rw-r--r-- | gpu/demos/framework/main_exe.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gpu/demos/framework/main_exe.cc b/gpu/demos/framework/main_exe.cc index 0c54804..296d164 100644 --- a/gpu/demos/framework/main_exe.cc +++ b/gpu/demos/framework/main_exe.cc @@ -8,9 +8,9 @@ #include "gpu/demos/framework/window.h" #include "ui/gfx/gl/gl_surface.h" -#if defined(OS_LINUX) +#if defined(TOOLKIT_USES_GTK) #include <gtk/gtk.h> -#endif // OS_LINUX +#endif // TOOLKIT_USES_GTK namespace { static const int kWindowWidth = 512; @@ -18,9 +18,9 @@ static const int kWindowHeight = 512; } // namespace. int main(int argc, char** argv) { -#if defined(OS_LINUX) +#if defined(TOOLKIT_USES_GTK) gtk_init(&argc, &argv); -#endif // OS_LINUX +#endif // TOOLKIT_USES_GTK // AtExitManager is used by singleton classes to delete themselves when // the program terminates. |