From 6bb5ff989d2e0845d26cf65496db148c6d9ef002 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 18 Oct 2022 10:11:17 -0700 Subject: [PATCH] Fix #ifdef statement PiperOrigin-RevId: 481952827 --- mediapipe/calculators/tflite/tflite_model_calculator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/calculators/tflite/tflite_model_calculator.cc b/mediapipe/calculators/tflite/tflite_model_calculator.cc index c347d07f..8cbdd4c7 100644 --- a/mediapipe/calculators/tflite/tflite_model_calculator.cc +++ b/mediapipe/calculators/tflite/tflite_model_calculator.cc @@ -91,7 +91,7 @@ class TfLiteModelCalculator : public CalculatorBase { tflite::DefaultErrorReporter()); model = tflite::FlatBufferModel::BuildFromAllocation( std::move(model_allocation), tflite::DefaultErrorReporter()); -#elif +#else return absl::FailedPreconditionError( "Loading by file descriptor is not supported on this platform.") #endif