Do undef BLOCK_SIZE

This commit is contained in:
Nazar 2019-04-08 12:16:17 +03:00
parent 615eb8a059
commit 2942640d9d
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ struct wiringPiNodeStruct *wiringPiNodes = NULL;
#define GPIO_PWM (BCM2708_PERI_BASE + 0x0020C000)
#define PAGE_SIZE (4*1024)
// Since BLOCK_SIZE is defined in /usr/include/linux/fs.h:
#ifdef BLOCK_SIZE
#undef BLOCK_SIZE
#endif
#define BLOCK_SIZE (4*1024)
// PWM