mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
fill: don't include qrcodegen.h without USE_QRCODEGEN
This commit is contained in:
parent
5909f8f000
commit
37aaa9c0e5
@ -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…
x
Reference in New Issue
Block a user