fill: don't include qrcodegen.h without USE_QRCODEGEN

pull/531/head
nick black 5 years ago
parent 5909f8f000
commit 37aaa9c0e5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -1,5 +1,4 @@
#include "internal.h"
#include <qrcodegen/qrcodegen.h>
void ncplane_greyscale(ncplane *n){
for(int y = 0 ; y < n->leny ; ++y){
@ -591,6 +590,7 @@ int ncplane_rotate_ccw(ncplane* n){
}
#ifdef USE_QRCODEGEN
#include <qrcodegen/qrcodegen.h>
#define QR_BASE_SIZE 17
#define PER_QR_VERSION 4

Loading…
Cancel
Save