File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -327,12 +327,6 @@ SET(QGIS_CORE_SRCS
327
327
geometry/qgswkbtypes.cpp
328
328
)
329
329
330
- INCLUDE (CheckCXXSourceCompiles )
331
- CHECK_CXX_SOURCE_COMPILES ("#include <cmath>\n int main() { double d = std::round (0.3); return 0; }\n " HAVE_STD_ROUND )
332
- IF (HAVE_STD_ROUND )
333
- ADD_DEFINITIONS (-DHAVE_STD_ROUND )
334
- ENDIF (HAVE_STD_ROUND )
335
-
336
330
FILE (GLOB JSON_HELP_FILES "${CMAKE_SOURCE_DIR} /resources/function_help/json/*" )
337
331
STRING (REPLACE "$" "$$" JSON_HELP_FILES "${JSON_HELP_FILES} " )
338
332
STRING (REPLACE "\( " "\\ (" JSON_HELP_FILES "${JSON_HELP_FILES} " )
Original file line number Diff line number Diff line change @@ -49,15 +49,6 @@ email : marco.hugentobler at sourcepole dot com
49
49
return r; \
50
50
}
51
51
52
- #ifndef HAVE_STD_ROUND
53
- namespace std
54
- {
55
- double round ( double d )
56
- {
57
- return d < 0.0 ? ceil ( d - 0.5 ) : floor ( d + 0.5 );
58
- }
59
- }
60
- #endif
61
52
62
53
static void throwGEOSException ( const char *fmt, ... )
63
54
{
You can’t perform that action at this time.
0 commit comments