Commit afae60ec authored by Simon McVittie's avatar Simon McVittie Committed by Ralf Habacker

Windows: Stop manipulating line numbering in versioninfo.rc

If __LINE__ doesn't work in MSVC's resource compiler, then removing
the #line directive altogether seems a simpler fix than redefining
__LINE__ to the wrong value.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
Bug: Ralf Habacker's avatarRalf Habacker <>
parent d03c6d11
......@@ -246,7 +246,6 @@ if (MSVC)
configure_file(${DBUS_DIR}/ ${CMAKE_CURRENT_BINARY_DIR}/versioninfo.rc)
list(APPEND libdbus_SOURCES versioninfo.rc)
set_source_files_properties(versioninfo.rc COMPILE_FLAGS "-D__LINE__=1")
endif (MSVC)
......@@ -12,10 +12,6 @@
/* This file is processed by configure to create versioninfo.rc */
#line __LINE__ ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment