fix compile
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 2 May 2011 18:55:39 +0000 (18:55 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 2 May 2011 18:55:39 +0000 (18:55 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@1222 2bbb7eff-a529-9590-31e7-b0007b416f81

samplecode/SampleApp.cpp

index 266264e..bd87d83 100644 (file)
@@ -1338,7 +1338,9 @@ bool SampleView::onQuery(SkEvent* evt) {
 }
 
 #define TEST_GPIPEx
-#include "SkGPipe.h"
+#ifdef TEST_GPIPE
+    #include "SkGPipe.h"
+#endif
 
 void SampleView::onDraw(SkCanvas* canvas) {
     this->onDrawBackground(canvas);