Pārlūkot izejas kodu

Include cmath instead of math.h

This fixes build on, at least, NetBSD 8.1 with gcc 5.5 and SmartOS with gcc 7.
Juraj Lutter 6 gadi atpakaļ
vecāks
revīzija
982222e71a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/google/protobuf/text_format.cc

+ 1 - 1
src/google/protobuf/text_format.cc

@@ -35,7 +35,7 @@
 #include <google/protobuf/text_format.h>
 
 #include <float.h>
-#include <math.h>
+#include <cmath>
 #include <stdio.h>
 
 #include <algorithm>