mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-12 14:28:14 +00:00
Removed unused constants
Except for SDL_bmp.c where they are historically interesting and I've left them in.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user