summaryrefslogtreecommitdiffstats
path: root/backend_common.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2014-02-08 18:41:29 -0500
committerSolomon Peachy <pizza@shaftnet.org>2014-02-08 18:41:29 -0500
commit47b386e9275f1fa429980edb3a9cb2eb560b9b52 (patch)
treebc8db5e126a2c2f09ef6fe205dccee56528067fc /backend_common.h
parentf0a19cfca1ed6b71f309bcc7578985254452727d (diff)
downloadselphy_print-47b386e9275f1fa429980edb3a9cb2eb560b9b52.tar.gz
selphy_print-47b386e9275f1fa429980edb3a9cb2eb560b9b52.tar.bz2
selphy_print-47b386e9275f1fa429980edb3a9cb2eb560b9b52.zip
common: Re-add the libusb < 1.0.13 workarounds.
It comes with a GIANT WARNING if you are affected by the workaround.
Diffstat (limited to 'backend_common.h')
-rw-r--r--backend_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend_common.h b/backend_common.h
index 8ac96b6..f41aeaf 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -45,6 +45,7 @@
#define DEBUG( ... ) fprintf(stderr, "DEBUG: " __VA_ARGS__ )
#define DEBUG2( ... ) fprintf(stderr, __VA_ARGS__ )
#define INFO( ... ) fprintf(stderr, "INFO: " __VA_ARGS__ )
+#define WARNING( ... ) fprintf(stderr, "WARNING: " __VA_ARGS__ )
#define ERROR( ... ) do { fprintf(stderr, "ERROR: " __VA_ARGS__ ); sleep(1); } while (0)
#if (__BYTE_ORDER == __LITTLE_ENDIAN)