Removed unused constants

Except for SDL_bmp.c where they are historically interesting and I've left them in.
This commit is contained in:
Sam Lantinga committed 2016-11-15 01:24:58 -08:00
1 parent acce865911
commit 0d24495b15
6 files changed
+2 -26

No files matched your search

-1
View File
@@ -280,7 +280,6 @@ SDL_UDEV_LoadLibrary(void)
#define BITS_PER_LONG (sizeof(unsigned long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define OFF(x) ((x)%BITS_PER_LONG)
/* #define BIT(x) (1UL<<OFF(x)) */
#define LONG(x) ((x)/BITS_PER_LONG)
#define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1)