add_subdirectory(common)
if(WITH_CLIENT_CHANNELS)
- option(WITH_URBDRC_DEBUG "Dump data send/received in URBDRC channel" OFF)
-
- if (WITH_URBDRC_DEBUG)
- add_definitions(-DWITH_URBDRC_DEBUG=1)
- endif()
+ option(WITH_DEBUG_URBDRC "Dump data send/received in URBDRC channel" OFF)
find_package(libusb-1.0 REQUIRED)
include_directories(${LIBUSB_1_INCLUDE_DIRS})
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "urbdrc_helpers.h"
#include "urbdrc_types.h"
#include <winpr/print.h>
", FunctionId=%08" PRIx32 ", length=%" PRIdz,
type, call_to_string(client, InterfaceId, FunctionId), FunctionId, InterfaceId,
MessageId, FunctionId, length);
-#if defined(WITH_URBDRC_DEBUG)
+#if defined(WITH_DEBUG_URBDRC)
if (write)
WLog_Print(log, WLOG_TRACE, "-------------------------- URBDRC sent: ---");
else
#cmakedefine WITH_DEBUG_RDPEI
#cmakedefine WITH_DEBUG_TIMEZONE
#cmakedefine WITH_DEBUG_THREADS
+#cmakedefine WITH_DEBUG_URBDRC
#cmakedefine WITH_DEBUG_MUTEX
#cmakedefine WITH_DEBUG_TRANSPORT
#cmakedefine WITH_DEBUG_WND