Commit f50fe8e8 authored by jan.koester's avatar jan.koester
Browse files

test

parent 7f011149
Loading
Loading
Loading
Loading
+6 −1
Changes for src/quic.cpp: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,12 @@
#include <cstdio>
#include <cmath>

#define QUIC_DBG(fmt, ...) do { } while(0)
#define QUIC_DBG(fmt, ...) do { \
    if (getenv("QUIC_TRACE")) { \
        fprintf(stderr, "[%.6f] " fmt "\n", \
                std::chrono::duration<double>(std::chrono::steady_clock::now().time_since_epoch()).count(), ##__VA_ARGS__); \
    } \
} while(0)

namespace netplus {