diff --git a/mediapipe/calculators/tflite/tflite_model_calculator.cc b/mediapipe/calculators/tflite/tflite_model_calculator.cc index c347d07f6..8cbdd4c74 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