Fix linux build
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 9 Jul 2018 13:09:13 +0000 (15:09 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 9 Jul 2018 13:09:13 +0000 (15:09 +0200)
* src/parsecontroller.cpp (ParseController::parse): Ifdef
native encoding workaround.

src/parsecontroller.cpp

index d61fc69..a984b6d 100644 (file)
@@ -394,7 +394,7 @@ ParseController::parse()
                   break;
                 }
             }
-
+#ifdef HAVE_W32_SYSTEM
           if (allBad)
             {
               log_debug ("%s:%s:%p inline verify error trying native to utf8.",
@@ -442,6 +442,7 @@ ParseController::parse()
                   m_verify_result = ctx->verifyOpaqueSignature(input, output);
                 }
             }
+#endif
         }
     }
   delete ctx;