Index: include/views/SkWindow.h |
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h |
index 5fa3afcd1126860cd43b6c33cdc99f51cc55eb0c..70241b5ff663ea8861fb5c0bbb430c9c49b4c4a3 100644 |
--- a/include/views/SkWindow.h |
+++ b/include/views/SkWindow.h |
@@ -118,7 +118,9 @@ private: |
//////////////////////////////////////////////////////////////////////////////// |
-#if defined(SK_BUILD_FOR_MAC) |
+#if defined(SK_USE_SDL) |
+ #include "SkOSWindow_SDL.h" |
+#elif defined(SK_BUILD_FOR_MAC) |
#include "SkOSWindow_Mac.h" |
#elif defined(SK_BUILD_FOR_WIN) |
#include "SkOSWindow_Win.h" |
@@ -126,8 +128,6 @@ private: |
#include "SkOSWindow_Android.h" |
#elif defined(SK_BUILD_FOR_UNIX) |
#include "SkOSWindow_Unix.h" |
-#elif defined(SK_BUILD_FOR_SDL) |
- #include "SkOSWindow_SDL.h" |
#elif defined(SK_BUILD_FOR_IOS) |
#include "SkOSWindow_iOS.h" |
#endif |